You can run ghdl 32bit on 64 bit linux
but you need for this case some addtional prameter.
see in my makefile
rene
Am 23.12.2009 10:01, schrieb Lluís Batlle:
> 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
>
###############################################################
#
# Purpose: Makefile for jpeg sniffer
# Author.: Rene Doss (red)
# Version: 0.1
# License: Dossmatik GmbH
#
###############################################################
all: huffman jpeg_tb
ghdl -e -Wa,--32 -Wl,-m32 jpeg_tb
ghdl -r jpeg_tb --stop-time=18000ns --wave=jpeg.ghw
clean:
ghdl --clean
##helper: helper.vhd
## ghdl -a -Wa,--32 helper.vhd
huff_table: huff_table_read.vhd helpers.vhd
ghdl -a -Wa,--32 huff_table_read.vhd
##helpers: helpers.vhd
## ghdl -a -Wa,--32 helpers.vhd
huffman: huffman_decoder.vhd helpers.vhd
ghdl -a -Wa,--32 huffman_decoder.vhd
ghdl -a -Wa,--32 jpeg_tb.vhd
jpeg_tb: jpeg_tb.vhd j_main.vhd helpers.vhd
ghdl -a -Wa,--32 jpeg_tb.vhd_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss