- #1
vead
- 92
- 0
hello experts
I want to write input and output for microcontroller in verilog langugae (8051)
I have tried to write code
I have read about pin diagram but I don't understand which pins is used for ALU, decoder rom and ram memory
I want to write input and output for microcontroller in verilog langugae (8051)
I have tried to write code
Code:
Module mcu (clk, rst, en, p_in, p_out, t_in, t_out, i_in,i_out, rx_in, tx_out ,a0,a1,a2,d0,d1,d2,d3,d4,d5,d6,d7,a,b,s0,s1,s2,f,...etc);
Rst= reset input
Clk= clock input
En= enable input
Port
P_in=port input
P_out= port output
Timer
T_in = timer input
T_out = timer output
Interrupt
i_in= input for interrupt
i_out,= output for interrupt
ALU
A=input
B=input
So=input
S1=input
S2=input
F=output
Decoder
opcode_in
opcode_out
ram
wr
wd
ram
read
write
enable
I have read about pin diagram but I don't understand which pins is used for ALU, decoder rom and ram memory