2009/12/23 René Doss <[email protected]>:
> Hallo,
> your file type is incorrect.
> an example from my design
> ghdl -r jpeg_tb --stop-time=18000ns --wave=jpeg.ghw
Did you mean the file extension for the wave?
I've tried:
$ ./tb_design --stop-time=750us --wave=twoimages.ghw
./tb_design:internal error: wave.create_type(2)
So I hit the same problem. Also the same with "ghdl -r".
I am using ghdl built for x86_64. Could it be that ghdl requires
32bits for its wave format? I will try a 32-bit build.
> Am 23.12.2009 09:45, schrieb Lluís Batlle:
>> Hello,
>>
>> I can't get ghdl generate wave files with "--wave". "--vcd" or
>> "--vcdgz" work perfectly. Maybe any of you know how to fix this?
>>
>> I think I need it to get the waves for 'records'.
>>
>> Here is the last part of the strace of my ghdl call "./mydesign
>> --wave=file.wave":
>> fstat(3, {st_dev=makedev(8, 3), st_ino=1474579, st_mode=S_IFREG|0664,
>> st_nlink=1, st_uid=1000, st_gid=1000, st_blksize=4096, st_blocks=0,
>> st_size=0, st_atime=2009/12/23-09:38:36, st_mtime=2009/12/23-09:39:11,
>> st_ctime=2009/12/23-09:39:11}) = 0
>> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
>> 0) = 0x7f182a5b6000
>> write(2, "./tb_peak_tap"..., 13./tb_peak_tap) = 13
>> write(2, ":internal error: "..., 17:internal error: ) = 17
>> write(2, "wave.create_type(2)"..., 19wave.create_type(2)) = 19
>> write(2, "\n"..., 1
>> ) = 1
>> write(3, "GHDLwave\n\20\0\1\1\4\1\0"..., 16) = 16
>> exit_group(1) = ?
>>
>> Thank you,
>> Lluís.
>>
>> _______________________________________________
>> Ghdl-discuss mailing list
>> [email protected]
>> https://mail.gna.org/listinfo/ghdl-discuss
>>
>
>
> _______________________________________________
> Ghdl-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/ghdl-discuss
>
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss