OpenCores
URL https://opencores.org/ocsvn/wb_z80/wb_z80/trunk

Subversion Repositories wb_z80

[/] [wb_z80/] [trunk/] [rtl/] [z80_inst_exec.v] - Diff between revs 26 and 32

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 26 Rev 32
Line 69... Line 69...
// the intention is that even if the synthesizer is pretty primitive -- reasonably fast hardware 
// the intention is that even if the synthesizer is pretty primitive -- reasonably fast hardware 
// will be produced.
// will be produced.
// 
// 
//-------1---------2---------3--------CVS Log -----------------------7---------8---------9--------0
//-------1---------2---------3--------CVS Log -----------------------7---------8---------9--------0
//
//
//  $Id: z80_inst_exec.v,v 1.4 2004-05-21 02:51:25 bporcella Exp $
//  $Id: z80_inst_exec.v,v 1.5 2007-10-02 20:25:12 bporcella Exp $
//
//
//  $Date: 2004-05-21 02:51:25 $
//  $Date: 2007-10-02 20:25:12 $
//  $Revision: 1.4 $
//  $Revision: 1.5 $
//  $Author: bporcella $
//  $Author: bporcella $
//  $Locker:  $
//  $Locker:  $
//  $State: Exp $
//  $State: Exp $
//
//
// Change History:
// Change History:
//      $Log: not supported by cvs2svn $
//      $Log: not supported by cvs2svn $
 
//      Revision 1.4  2004/05/21 02:51:25  bporcella
 
//      inst test  got to the worked macro
 
//
//      Revision 1.3  2004/05/18 22:31:21  bporcella
//      Revision 1.3  2004/05/18 22:31:21  bporcella
//      instruction test getting to final stages
//      instruction test getting to final stages
//
//
//      Revision 1.2  2004/05/13 14:58:53  bporcella
//      Revision 1.2  2004/05/13 14:58:53  bporcella
//      testbed built and verification in progress
//      testbed built and verification in progress
Line 810... Line 813...
    if ( up_e_src_pqr & exec_ir2)      er <= src_pqr20;
    if ( up_e_src_pqr & exec_ir2)      er <= src_pqr20;
    if ( up_e_add16   & exec_ir2)      er <= add16[7:0];
    if ( up_e_add16   & exec_ir2)      er <= add16[7:0];
    if ( LDsDE_NN  == ir2 & exec_ir2)  er <= nn[7:0];
    if ( LDsDE_NN  == ir2 & exec_ir2)  er <= nn[7:0];
    if ( POPsDE    == ir2 & exec_ir2)  er <= nn[7:0];
    if ( POPsDE    == ir2 & exec_ir2)  er <= nn[7:0];
    if ( EXX       == ir2  & exec_ir2) er <= ep;
    if ( EXX       == ir2  & exec_ir2) er <= ep;
    if ( EXsDE_HL  == ir2  & exec_ir2) er <= hr;
    if ( EXsDE_HL  == ir2  & exec_ir2) er <= lr;   // hharte was er <= hr
    if ( LDsE_N    == ir2  & exec_ir2) er <= nn[15:8];
    if ( LDsE_N    == ir2  & exec_ir2) er <= nn[15:8];
    if (ir2[2:0] == REG8_E &
    if (ir2[2:0] == REG8_E &
             bit_alu_act & exec_ir2)   er <= bit_alu;
             bit_alu_act & exec_ir2)   er <= bit_alu;
    if (ir2[2:0] == REG8_E &
    if (ir2[2:0] == REG8_E &
             sh_alu_act & exec_ir2)    er <= sh_alu;
             sh_alu_act & exec_ir2)    er <= sh_alu;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.