diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..318dd74 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.out +*~ diff --git a/decoders.v b/decoders.v index dd467c2..bd759c9 100644 --- a/decoders.v +++ b/decoders.v @@ -1,14 +1,14 @@ // 32 bit decoder with enable signal // enable=0: all output bits are 0 // enable=1: out[address] is 1, all other outputs are 0 +/* Verilator lint_off WIDTH */ module decoder1to32 ( -output[31:0] out, -input enable, -input[4:0] address +output[31:0] out, +input enable, +input[4:0] address ); - assign out = enable<