Line 42... |
Line 42... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.21 2003/04/09 15:49:42 simont
|
|
// Register oc8051_sfr dato output, add signal wait_data.
|
|
//
|
// Revision 1.20 2003/04/03 19:13:28 simont
|
// Revision 1.20 2003/04/03 19:13:28 simont
|
// Include instruction cache.
|
// Include instruction cache.
|
//
|
//
|
// Revision 1.19 2003/04/02 15:08:30 simont
|
// Revision 1.19 2003/04/02 15:08:30 simont
|
// raname signals.
|
// raname signals.
|
Line 147... |
Line 150... |
//
|
//
|
// ram_rd_sel ram read (internal)
|
// ram_rd_sel ram read (internal)
|
// ram_wr_sel ram write (internal)
|
// ram_wr_sel ram write (internal)
|
// src_sel1, src_sel2 from decoder to register
|
// src_sel1, src_sel2 from decoder to register
|
wire src_sel3;
|
wire src_sel3;
|
wire [2:0] ram_rd_sel, ram_wr_sel, wr_sfr;
|
wire [1:0] wr_sfr;
|
|
wire [2:0] ram_rd_sel, ram_wr_sel;
|
wire [2:0] src_sel2, src_sel1;
|
wire [2:0] src_sel2, src_sel1;
|
|
|
//
|
//
|
// wr_addr ram write addres
|
// wr_addr ram write addres
|
// ram_out data from ram
|
// ram_out data from ram
|
Line 350... |
Line 354... |
//
|
//
|
//
|
//
|
|
|
oc8051_sfr oc8051_sfr1(.rst(wb_rst_i), .clk(wb_clk_i), .adr0(rd_addr[7:0]), .adr1(wr_addr[7:0]),
|
oc8051_sfr oc8051_sfr1(.rst(wb_rst_i), .clk(wb_clk_i), .adr0(rd_addr[7:0]), .adr1(wr_addr[7:0]),
|
.dat0(sfr_out), .dat1(wr_dat), .dat2(des2), .we(wr_o && !wr_ind), .bit_in(desCy),
|
.dat0(sfr_out), .dat1(wr_dat), .dat2(des2), .we(wr_o && !wr_ind), .bit_in(desCy),
|
.bit_out(sfr_bit), .wr_bit(bit_addr_o), .ram_rd_sel(ram_rd_sel), .ram_wr_sel(ram_wr_sel), .wr_sfr(wr_sfr),
|
.bit_out(sfr_bit), .wr_bit(bit_addr_o), .ram_rd_sel(ram_rd_sel), .ram_wr_sel(ram_wr_sel),
|
|
.wr_sfr(wr_sfr),
|
// acc
|
// acc
|
.acc(acc),
|
.acc(acc),
|
// sp
|
// sp
|
.sp(sp), .sp_w(sp_w),
|
.sp(sp), .sp_w(sp_w),
|
// psw
|
// psw
|