Guest
#5224138
Ok, so I need some help with a verilog self learning project I'm working on. I'm building a 16 bit RISC microprocessor. I'm on the last 3 modules before major testing and I'm stuck on the second one. The instruction decoder. I'll have a diagram to explain what I'm talking about. The module takes a 16 bit input First 4 bits raise a flag that corresponds to the instruction (ex. MOV, ADD, ADDI, SUB, NOT, AND, OR, etc.) the last 12 bits break down into 6 and 6 for holders to do the operation. I've also attached my code to what I think is correct. Does this look ok? Is this how you would implement this? Did I over complicate it.
