OpenCores
URL https://opencores.org/ocsvn/a-z80/a-z80/trunk

Subversion Repositories a-z80

[/] [a-z80/] [trunk/] [cpu/] [alu/] [alu_flags.v] - Diff between revs 3 and 8

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

Rev 3 Rev 8
Line 12... Line 12...
// Altera or its authorized distributors.  Please refer to the 
// Altera or its authorized distributors.  Please refer to the 
// applicable agreement for further details.
// applicable agreement for further details.
 
 
// PROGRAM              "Quartus II 64-Bit"
// PROGRAM              "Quartus II 64-Bit"
// VERSION              "Version 13.0.1 Build 232 06/12/2013 Service Pack 1 SJ Web Edition"
// VERSION              "Version 13.0.1 Build 232 06/12/2013 Service Pack 1 SJ Web Edition"
// CREATED              "Sun Oct 19 14:48:51 2014"
// CREATED              "Tue Feb 23 22:17:29 2016"
 
 
module alu_flags(
module alu_flags(
        ctl_flags_oe,
        ctl_flags_oe,
        ctl_flags_bus,
        ctl_flags_bus,
        ctl_flags_alu,
        ctl_flags_alu,
Line 42... Line 42...
        ctl_flags_use_cf2,
        ctl_flags_use_cf2,
        ctl_flags_hf2_we,
        ctl_flags_hf2_we,
        ctl_flags_nf_clr,
        ctl_flags_nf_clr,
        ctl_alu_zero_16bit,
        ctl_alu_zero_16bit,
        clk,
        clk,
        ctl_flags_cf2_sel,
        ctl_flags_cf2_sel_shift,
 
        ctl_flags_cf2_sel_daa,
        flags_sf,
        flags_sf,
        flags_zf,
        flags_zf,
        flags_hf,
        flags_hf,
        flags_pf,
        flags_pf,
        flags_cf,
        flags_cf,
Line 82... Line 83...
input wire      ctl_flags_use_cf2;
input wire      ctl_flags_use_cf2;
input wire      ctl_flags_hf2_we;
input wire      ctl_flags_hf2_we;
input wire      ctl_flags_nf_clr;
input wire      ctl_flags_nf_clr;
input wire      ctl_alu_zero_16bit;
input wire      ctl_alu_zero_16bit;
input wire      clk;
input wire      clk;
input wire      [1:0] ctl_flags_cf2_sel;
input wire      ctl_flags_cf2_sel_shift;
 
input wire      ctl_flags_cf2_sel_daa;
output wire     flags_sf;
output wire     flags_sf;
output wire     flags_zf;
output wire     flags_zf;
output wire     flags_hf;
output wire     flags_hf;
output wire     flags_pf;
output wire     flags_pf;
output wire     flags_cf;
output wire     flags_cf;
Line 95... Line 97...
output reg      flags_hf2;
output reg      flags_hf2;
inout wire      [7:0] db;
inout wire      [7:0] db;
 
 
reg     flags_xf;
reg     flags_xf;
reg     flags_yf;
reg     flags_yf;
 
wire    [1:0] sel;
wire    SYNTHESIZED_WIRE_0;
wire    SYNTHESIZED_WIRE_0;
reg     DFFE_inst_latch_hf;
reg     DFFE_inst_latch_hf;
wire    SYNTHESIZED_WIRE_1;
wire    SYNTHESIZED_WIRE_1;
wire    SYNTHESIZED_WIRE_2;
wire    SYNTHESIZED_WIRE_2;
wire    SYNTHESIZED_WIRE_3;
wire    SYNTHESIZED_WIRE_3;
Line 339... Line 342...
alu_mux_4       b2v_inst_mux_cf2(
alu_mux_4       b2v_inst_mux_cf2(
        .in0(alu_core_cf_out),
        .in0(alu_core_cf_out),
        .in1(shift_cf_out),
        .in1(shift_cf_out),
        .in2(daa_cf_out),
        .in2(daa_cf_out),
        .in3(SYNTHESIZED_WIRE_37),
        .in3(SYNTHESIZED_WIRE_37),
        .sel(ctl_flags_cf2_sel),
        .sel(sel),
        .out(SYNTHESIZED_WIRE_28));
        .out(SYNTHESIZED_WIRE_28));
 
 
 
assign  sel[0] = ctl_flags_cf2_sel_shift;
 
assign  sel[1] = ctl_flags_cf2_sel_daa;
 
 
endmodule
endmodule
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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