Line 39... |
Line 39... |
//// Public License along with this source; if not, download it ////
|
//// Public License along with this source; if not, download it ////
|
//// from http://www.opencores.org/lgpl.shtml ////
|
//// from http://www.opencores.org/lgpl.shtml ////
|
//// ////
|
//// ////
|
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// ver: 1
|
// CVS Revision History
|
|
//
|
|
// $Log: not supported by cvs2svn $
|
//
|
//
|
|
|
// synopsys translate_off
|
// synopsys translate_off
|
`include "oc8051_timescale.v"
|
`include "oc8051_timescale.v"
|
// synopsys translate_on
|
// synopsys translate_on
|
Line 62... |
Line 64... |
// wr_bit (in) write bit addresable - actine high [oc8051_decoder.bit_addr -r]
|
// wr_bit (in) write bit addresable - actine high [oc8051_decoder.bit_addr -r]
|
// wad2 (in) write data 2 [oc8051_decoder.wad2 -r]
|
// wad2 (in) write data 2 [oc8051_decoder.wad2 -r]
|
// wr_addr (in) write address (if is addres of acc and white high must be written to acc) [oc8051_ram_wr_sel.out]
|
// wr_addr (in) write address (if is addres of acc and white high must be written to acc) [oc8051_ram_wr_sel.out]
|
// data_out (out) data output [oc8051_alu_src1_sel.acc oc8051_alu_src2_sel.acc oc8051_comp.acc oc8051_ram_sel.acc]
|
// data_out (out) data output [oc8051_alu_src1_sel.acc oc8051_alu_src2_sel.acc oc8051_comp.acc oc8051_ram_sel.acc]
|
// p (out) parity [oc8051_psw.p]
|
// p (out) parity [oc8051_psw.p]
|
|
// stb_o (in) strobe
|
|
// we_o (in) write to external ram
|
|
// ack_i (in) acknowlage from external ram
|
|
// xdata (in) external data input
|
|
//
|
|
|
|
|
input clk, rst, wr, wr_bit, wad2, bit_in, stb_o, we_o, ack_i;
|
input clk, rst, wr, wr_bit, wad2, bit_in, stb_o, we_o, ack_i;
|
input [2:0] rd_addr;
|
input [2:0] rd_addr;
|
input [7:0] wr_addr, data_in, data2_in, xdata;
|
input [7:0] wr_addr, data_in, data2_in, xdata;
|