How to write verilog code for a simple microprocessor? For example, the microprocessor will be able to perform some of instructions like load, move, add immediate or add with other register. How to write them in verilog code? Actually this is my first time in microprocessor design and i am very new in verilog code. One more thing, i was given the mnemonics for the instructions above.
load - MOV A, 40H
move data from one register to another register - MOV B,A
add immediate - ADD 45H
add with other register - ADD B
load - MOV A, 40H
move data from one register to another register - MOV B,A
add immediate - ADD 45H
add with other register - ADD B