verilog code for processor

Thread Starter

vead

Joined Nov 24, 2011
629
I need verilog code for processor simply processor contain with ALU and CONTROL UNIT
specification
processor 8 bit
ALU 8 bit
decoder 8 bit

whenever we write verilog code we declare module , module name and declare what is input and what is output
example

module module name (input , output);
input=? ;
output=?;
data type = wire or reg;
begin
'
'
'
'
endmodule



how to declare input and output for processor ?
 

Thread Starter

vead

Joined Nov 24, 2011
629
I don't know how to decide Input and output but I try
Top module:mc8051
there are many sub module
mc8051_acc
mc8051_alu
mc8051_pc
mc8051_port

question:- how to connect top module with other sub module


we can define Input and output port for micro controller

can someone give link for 8051 verilog source code?
 
Top