Skip to content

Commit

Permalink
Top-module is defined to vcs with -top not -t
Browse files Browse the repository at this point in the history
  • Loading branch information
Jbalkind authored and olofk committed Mar 10, 2019
1 parent d741257 commit d552d60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion edalize/templates/vcs/Makefile.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: {{ name }}

{{ name }}: {{ name }}.scr
vcs -full64 -t {{ toplevel }} -f {{ name }}.scr -o $@ {% for option in tool_options %} {{ option }} {% endfor %}
vcs -full64 -top {{ toplevel }} -f {{ name }}.scr -o $@ {% for option in tool_options %} {{ option }} {% endfor %}

run: {{ name }}
./{{ name }} -l vcs.log {% for plusarg in plusargs %} {{ plusarg }} {% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_vcs/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: test_vcs_0

test_vcs_0: test_vcs_0.scr
vcs -full64 -t top_module -f test_vcs_0.scr -o $@
vcs -full64 -top top_module -f test_vcs_0.scr -o $@
run: test_vcs_0
./test_vcs_0 -l vcs.log +plusarg_bool=1 +plusarg_int=42 +plusarg_str=hello
clean:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_vcs/minimal/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: test_vcs_minimal_0

test_vcs_minimal_0: test_vcs_minimal_0.scr
vcs -full64 -t top -f test_vcs_minimal_0.scr -o $@
vcs -full64 -top top -f test_vcs_minimal_0.scr -o $@
run: test_vcs_minimal_0
./test_vcs_minimal_0 -l vcs.log
clean:
Expand Down

0 comments on commit d552d60

Please sign in to comment.