Commit bf6ba338 by Zachary Snow

additional default_nettype test coverage

parent 3ac1b4ea
`resetall
`define TEST(t) \
`default_nettype t \
module test_``t; \
assign foo = 0; \
endmodule
module top;
assign foo = 0;
endmodule
`TEST(tri)
`TEST(triand)
`TEST(trior)
// `TEST(trireg)
`TEST(tri0)
`TEST(tri1)
// `TEST(uwire)
`TEST(wire)
`TEST(wand)
`TEST(wor)
`resetall
`define TEST(t) \
`default_nettype t \
module test_``t; \
t foo; \
assign foo = 0; \
endmodule
module top;
wire foo;
assign foo = 0;
endmodule
`TEST(tri)
`TEST(triand)
`TEST(trior)
// `TEST(trireg)
`TEST(tri0)
`TEST(tri1)
// `TEST(uwire)
`TEST(wire)
`TEST(wand)
`TEST(wor)
`default_nettype invalid
module top;
assign foo = 0;
endmodule
`default_nettype none
module top;
assign foo = 0;
endmodule
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment