aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-02-24 20:09:41 +0100
committerClifford Wolf <clifford@clifford.at>2019-02-24 20:09:41 +0100
commit1816fe06af9ab2c50bd293dc10359238acc88f12 (patch)
tree00efc3732f55f86499e4f3a8f3f26e3604a6b399 /tests
parenta516b4fb5af0d8389fa8aede95ae5a76bec13dcf (diff)
downloadyosys-1816fe06af9ab2c50bd293dc10359238acc88f12.tar.gz
yosys-1816fe06af9ab2c50bd293dc10359238acc88f12.tar.bz2
yosys-1816fe06af9ab2c50bd293dc10359238acc88f12.zip
Fix handling of defparam for when default_nettype is none
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/simple/hierdefparam.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/simple/hierdefparam.v b/tests/simple/hierdefparam.v
index ff92c38bd..c9368ca7a 100644
--- a/tests/simple/hierdefparam.v
+++ b/tests/simple/hierdefparam.v
@@ -1,3 +1,5 @@
+`default_nettype none
+
module hierdefparam_top(input [7:0] A, output [7:0] Y);
generate begin:foo
hierdefparam_a mod_a(.A(A), .Y(Y));