Greetings fellow GHDL users.

I was hoping to use the Windows GHDL version so that undergrad students I am helping could easily practice with VHDL coding on their personal machines.

But I am experiencing a problem with Windows GHDL and I don't know what the workaround is. Perhaps it's simple and someone might be able to help me out. GHDL is of such quality that I believe the fault is with me rather than the program.

Here is my attempt to compile and run the tarball DLX on Windows with GHDL 0.29.1 Sokcho:

===
C:\Documents and Settings\ASIC\dlx>ghdl -i --workdir=work *.vhdl

C:\Documents and Settings\ASIC\dlx>ghdl -m --workdir=WORK dlx_test_behaviour

C:\Documents and Settings\ASIC\dlx>ghdl -r dlx_test_behaviour
error: cannot find entity or configuration dlx_test_behaviour

C:\Documents and Settings\ASIC\dlx>
===

And on my Unix machine, running GHDL 0.27:

bash-2.03$ ghdl -i --workdir=WORK *.vhdl
bash-2.03$ ghdl -m --workdir=WORK dlx_test_behaviour
analyze dlx_test.vhdl
analyze dlx_types.vhdl
analyze dlx_types-body.vhdl
analyze mem_types.vhdl
analyze dlx_test-bench.vhdl
analyze clock_gen.vhdl
analyze clock_gen-behaviour.vhdl
analyze memory.vhdl
analyze bv_arithmetic.vhdl
analyze bv_arithmetic-body.vhdl
analyze images.vhdl
analyze images-body.vhdl
analyze memory-behaviour.vhdl
analyze dlx_bus_monitor.vhdl
analyze dlx_instr.vhdl
analyze dlx_instr-body.vhdl
analyze dlx_bus_monitor-behaviour.vhdl
analyze dlx.vhdl
analyze dlx-behaviour.vhdl
analyze dlx_test_behaviour.vhdl
elaborate dlx_test_behaviour
bash-2.03$ ghdl -r dlx_test_behaviour
0 X"20020000"
4 X"AC020018"
8 X"20420001"
12 X"6441000A"
16 X"1420FFF0"
20 X"44000000"
proc: fetching instruction...
proc: fetching instruction...
bus monitor: I-fetch from X"00000000"
bus monitor:   X"20020000" [ ADDI     R2, R0, 0 ]
proc: incrementing PC...
proc: decoding instruction...
proc: executing instruction...
proc: end of execution
[...]

===

I (and the students) would be grateful for any help on this.

Also, I am working on an update of the GHDL tutorial guide PDF that is a few years old. I want to include some of this information that pertains to a newer release of GHDL. Once I get past this snag, and have gone through the rest of the GHDL guide, I'll send updates to this list for suggestions and feedback.

Thanks,

(S)

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to