verilog code for processor

Discussion in 'General Electronics Chat' started by vead, Feb 22, 2014.

  1. vead

    Thread Starter Active Member

    Nov 24, 2011
    621
    8
    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 ?
     
  2. vead

    Thread Starter Active Member

    Nov 24, 2011
    621
    8
    please help me I need your suggestion
     
  3. vead

    Thread Starter Active Member

    Nov 24, 2011
    621
    8
    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?
     
Loading...