Exemple #1
0
 //NETLIB_CONSTRUCTOR(7493)
 public nld_7493(object owner, string name)
     : base(owner, name)
 {
     m_CLKA       = new logic_input_t(this, "CLKA", updA);
     m_CLKB       = new logic_input_t(this, "CLKB", updB);
     m_QA         = new logic_output_t(this, "QA");
     m_QB         = new object_array_t_logic_output_t <u64_const_3>(this, new logic_output_t(this, "QB"), new logic_output_t(this, "QC"), new logic_output_t(this, "QD"));
     m_a          = new state_var <unsigned>(this, "m_a", 0);
     m_bcd        = new state_var <unsigned>(this, "m_b", 0);
     m_R1         = new logic_input_t(this, "R1", inputs);
     m_R2         = new logic_input_t(this, "R2", inputs);
     m_power_pins = new nld_power_pins(this);
 }
Exemple #2
0
 //NETLIB_CONSTRUCTOR(7448)
 public nld_7448(object owner, string name)
     : base(owner, name)
 {
     m_A          = new logic_input_t(this, "A", inputs);
     m_B          = new logic_input_t(this, "B", inputs);
     m_C          = new logic_input_t(this, "C", inputs);
     m_D          = new logic_input_t(this, "D", inputs);
     m_LTQ        = new logic_input_t(this, "LTQ", inputs);
     m_BIQ        = new logic_input_t(this, "BIQ", inputs);
     m_RBIQ       = new logic_input_t(this, "RBIQ", inputs);
     m_state      = new state_var <unsigned>(this, "m_state", 0);
     m_Q          = new object_array_t_logic_output_t <u64_const_7>(this, new logic_output_t(this, "a"), new logic_output_t(this, "b"), new logic_output_t(this, "c"), new logic_output_t(this, "d"), new logic_output_t(this, "e"), new logic_output_t(this, "f"), new logic_output_t(this, "g"));
     m_power_pins = new nld_power_pins(this);
 }
Exemple #3
0
 //NETLIB_CONSTRUCTOR(7490)
 public nld_7490(object owner, string name)
     : base(owner, name)
 {
     m_A          = new logic_input_t(this, "A", inputs);
     m_B          = new logic_input_t(this, "B", inputs);
     m_R1         = new logic_input_t(this, "R1", inputs);
     m_R2         = new logic_input_t(this, "R2", inputs);
     m_R91        = new logic_input_t(this, "R91", inputs);
     m_R92        = new logic_input_t(this, "R92", inputs);
     m_cnt        = new state_var_u8(this, "m_cnt", 0);
     m_last_A     = new state_var <netlist_sig_t>(this, "m_last_A", 0);
     m_last_B     = new state_var <netlist_sig_t>(this, "m_last_B", 0);
     m_Q          = new object_array_t_logic_output_t <u64_const_4>(this, new logic_output_t(this, "QA"), new logic_output_t(this, "QB"), new logic_output_t(this, "QC"), new logic_output_t(this, "QD"));
     m_power_pins = new nld_power_pins(this);
 }
Exemple #4
0
        //NETLIB_CONSTRUCTOR(9316_base)
        public nld_9316_base(object owner, string name, desc_base desc)
            : base(owner, name)
        {
            D = desc;

            m_CLK        = new logic_input_t(this, "CLK", clk);
            m_ENT        = new logic_input_t(this, "ENT", other);
            m_LOADQ      = new logic_input_t(this, "LOADQ", other);
            m_ENP        = new logic_input_t(this, "ENP", other);
            m_CLRQ       = new logic_input_t(this, "CLRQ", other);
            m_ABCD       = new object_array_t_logic_input_t <u64_const_4>(this, new logic_input_t(this, "A", abcd), new logic_input_t(this, "B", abcd), new logic_input_t(this, "C", abcd), new logic_input_t(this, "D", abcd));
            m_RC         = new logic_output_t(this, "RC");
            m_Q          = new object_array_t_logic_output_t <u64_const_4>(this, new logic_output_t(this, "QA"), new logic_output_t(this, "QB"), new logic_output_t(this, "QC"), new logic_output_t(this, "QD"));
            m_cnt        = new state_var <unsigned>(this, "m_cnt", 0);
            m_abcd       = new state_var <unsigned>(this, "m_abcd", 0);
            m_loadq      = new state_var <unsigned>(this, "m_loadq", 0);
            m_ent        = new state_var <unsigned>(this, "m_ent", 0);
            m_power_pins = new nld_power_pins(this);
        }