Skip to content

Commit

Permalink
scripts/compile_vsim: Add necessary vlog arguments
Browse files Browse the repository at this point in the history
Structs of structs are impplicitely declared as variables.
Declaring them as reg helps Questa not dying.
  • Loading branch information
zarubaf authored and fabianschuiki committed Jan 16, 2020
1 parent 19f4a83 commit 25524f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/compile_vsim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

set -e

bender script vsim -t test > compile.tcl
bender script vsim -t test --vlog-arg="-svinputport=compat" --vlog-arg="-override_timescale 1ns/1ps" > compile.tcl
echo 'return 0' >> compile.tcl
vsim -c -do 'exit -code [source compile.tcl]'

0 comments on commit 25524f5

Please sign in to comment.