Skip to content

CGA_INTR_CNTLR_VECGEN_PTY

Source: Verilog/DELILAH-CPU/CGA_INTR/circuit/CGA_INTR_CNTLR_VECGEN_PTY.v

Where it sits (Simulation): ND120_TOP > ND120_CORE > ND3202D > CPU_15 > CPU_PROC_32 > CPU_PROC_CGA_33 > CGA > CGA_INTR > CGA_INTR_CNTLR > CGA_INTR_CNTLR_VECGEN > CGA_INTR_CNTLR_VECGEN_PTY - instance path: CORE.CPU_BOARD.CPU.PROC.CGA.DELILAH.INTR.CNTLR.VECGEN.PTY

Used in: CGA_INTR_CNTLR_VECGEN (all tops)

Contains: CGA_INTR_CNTLR_VECGEN_PTY_PTYENC x2

Module hierarchy - All modules

CGA_INTR_CNTLR_VECGEN_PTY symbol

Schematic

Drawn from the Verilog: the yosys netlist of the Simulation (Verilator) build, instance CORE.CPU_BOARD.CPU.PROC.CGA.DELILAH.INTR.CNTLR.VECGEN.PTY. Sub-modules are boxes (click the picture to open it full size; there every sub-module box links to its page, and every wire shows its Verilog name).

CGA_INTR_CNTLR_VECGEN_PTY schematic

Description

ND120 CGA (CPU Gate Array / DELILAH) /CGA/INTR/CNTLR/VECGEN/PTY VECTOR GENERATOR Page 83 SHEET 1 of 1 Last reviewed: 10-NOV-2024 Ronny Hansen

Ports

Direction Width Name Description
input [15:0] MIREQ_15_0_N (active low)
output 1 HIDET
output [2:0] HIVEC
output 1 LODET
output [2:0] LOVEC

Verilog source

Verilog/DELILAH-CPU/CGA_INTR/circuit/CGA_INTR_CNTLR_VECGEN_PTY.v on GitHub.

Show the Verilog of CGA_INTR_CNTLR_VECGEN_PTY (64 lines)
/**************************************************************************
** ND120 CGA (CPU Gate Array / DELILAH)                                  **
** /CGA/INTR/CNTLR/VECGEN/PTY                                            **
** VECTOR GENERATOR                                                      **
**                                                                       **
** Page 83                                                               **
** SHEET 1 of 1                                                          **
**                                                                       **
** Last reviewed: 10-NOV-2024                                            **
** Ronny Hansen                                                          **
***************************************************************************/

module CGA_INTR_CNTLR_VECGEN_PTY (
    input [15:0] MIREQ_15_0_N,

    output       HIDET,
    output [2:0] HIVEC,
    output       LODET,
    output [2:0] LOVEC
);

  /*******************************************************************************
   ** The wires are defined here                                                 **
   *******************************************************************************/
  wire [15:0] s_mireq_15_0_n;
  wire [ 2:0] s_hivec_out;
  wire [ 2:0] s_lovec_out;
  wire        s_hidet_out;
  wire        s_lodet_out;

  /*******************************************************************************
   ** The module functionality is described here                                 **
   *******************************************************************************/

  /*******************************************************************************
   ** Here all input connections are defined                                     **
   *******************************************************************************/
  assign s_mireq_15_0_n[15:0] = MIREQ_15_0_N;

  /*******************************************************************************
   ** Here all output connections are defined                                    **
   *******************************************************************************/
  assign HIDET = s_hidet_out;
  assign HIVEC = s_hivec_out[2:0];
  assign LODET = s_lodet_out;
  assign LOVEC = s_lovec_out[2:0];

  /*******************************************************************************
   ** Here all sub-circuits are defined                                          **
   *******************************************************************************/

  CGA_INTR_CNTLR_VECGEN_PTY_PTYENC PTYENC_HI (
      .DET(s_hidet_out),
      .RN(s_mireq_15_0_n[15:8]),
      .V_2_0(s_hivec_out[2:0])
  );

  CGA_INTR_CNTLR_VECGEN_PTY_PTYENC PTYENC_LO (
      .DET(s_lodet_out),
      .RN(s_mireq_15_0_n[7:0]),
      .V_2_0(s_lovec_out[2:0])
  );

endmodule