FreeCalypso > hg > freecalypso-schem2
annotate venus/src/core/baseband.v @ 63:4a7db02ddd3e
buzzer circuit implemented
| author | Mychaela Falconia <falcon@freecalypso.org> | 
|---|---|
| date | Wed, 01 Dec 2021 20:22:47 +0000 | 
| parents | ec932276c8e6 | 
| children | adc84e0e98d6 | 
| rev | line source | 
|---|---|
| 9 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 1 /* | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 2 * This module encapsulates the DBB, the ABB and the connections between | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 3 * them. It approximately corresponds to the "200 - Baseband" sheet | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 4 * in the original Leonardo schematics. | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 5 */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 6 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 7 module baseband (GND, VBAT, VSIM, Vio, Vflash, Vsram, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 8 PWON, RPWON, nTESTRESET, ON_nOFF, CLKTCXO_IN, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 9 TDI, TDO, TCK, TMS, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 10 MCU_A, MCU_D, MCU_RnW, MCU_nFWE, MCU_nFOE, MCU_FDP, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 11 MCU_nBLE, MCU_nBHE, MCU_nCS, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 12 SCLK, SDO, SDI_SDA, nSCS0_SCL, nSCS1, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 13 TX_IRDA, RX_IRDA, TXIR_IRDA, RXIR_IRDA, SD_IRDA, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 14 TX_MODEM, RX_MODEM, RTS_MODEM, CTS_MODEM, DSR_LPG, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 15 MCSI_TXD, MCSI_RXD, MCSI_CLK, MCSI_FSYNCH, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 16 KBC, KBR, BU_PWT, LT_PWL, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 17 GPIO0, GPIO1, GPIO2, GPIO3, GPIO4, GPIO6, GPIO7_RESETOUT, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 18 GPIO8, GPIO13, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 19 ADIN1, ADIN2, ADIN3, ADIN4, DAC, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 20 AUXI, AUXON, AUXOP, EARN, EARP, HSMICBIAS, HSMICP, HSO, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 21 MICBIAS, MICIN, MICIP, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 22 LED_A, LED_B, LED_C, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 23 ICTL, PCHG, VBATS, VCCS, VCHG, | 
| 10 
5ee03a306da3
Venus core: bring out SIM_CD
 Mychaela Falconia <falcon@freecalypso.org> parents: 
9diff
changeset | 24 SIM_IO, SIM_CLK, SIM_RST, SIM_CD, | 
| 9 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 25 Analog_IM, Analog_IP, Analog_QM, Analog_QP, AFC, APC, | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 26 TCXOEN, RFEN, TSPCLK, TSPDO, TSPEN_Rita, TSPACT); | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 27 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 28 input GND, VBAT; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 29 output VSIM, Vio, Vflash, Vsram; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 30 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 31 input PWON, RPWON, nTESTRESET; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 32 output ON_nOFF; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 33 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 34 input CLKTCXO_IN; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 35 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 36 input TDI, TCK, TMS; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 37 output TDO; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 38 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 39 output [22:0] MCU_A; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 40 inout [15:0] MCU_D; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 41 output MCU_RnW, MCU_nFWE, MCU_nFOE, MCU_FDP, MCU_nBLE, MCU_nBHE; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 42 output [4:0] MCU_nCS; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 43 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 44 output SCLK, SDO, nSCS1; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 45 inout SDI_SDA, nSCS0_SCL; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 46 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 47 output TX_IRDA, TXIR_IRDA, SD_IRDA, TX_MODEM, RTS_MODEM; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 48 input RX_IRDA, RXIR_IRDA, RX_MODEM, CTS_MODEM; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 49 inout DSR_LPG; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 50 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 51 output MCSI_TXD; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 52 input MCSI_RXD; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 53 inout MCSI_CLK, MCSI_FSYNCH; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 54 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 55 output [4:0] KBC; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 56 input [4:0] KBR; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 57 output BU_PWT, LT_PWL; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 58 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 59 inout GPIO0, GPIO1, GPIO2, GPIO3, GPIO4, GPIO6, GPIO7_RESETOUT, GPIO8, GPIO13; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 60 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 61 input ADIN1, ADIN2, ADIN3, ADIN4; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 62 output DAC; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 63 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 64 input AUXI; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 65 output AUXON, AUXOP; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 66 output EARN, EARP; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 67 output HSMICBIAS, HSO; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 68 input HSMICP; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 69 output MICBIAS; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 70 input MICIN, MICIP; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 71 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 72 output LED_A, LED_B, LED_C; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 73 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 74 output ICTL, PCHG; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 75 input VBATS, VCCS, VCHG; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 76 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 77 output SIM_CLK, SIM_RST; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 78 inout SIM_IO; | 
| 10 
5ee03a306da3
Venus core: bring out SIM_CD
 Mychaela Falconia <falcon@freecalypso.org> parents: 
9diff
changeset | 79 input SIM_CD; | 
| 9 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 80 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 81 inout Analog_IM, Analog_IP, Analog_QM, Analog_QP; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 82 output AFC, APC; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 83 output TCXOEN, RFEN, TSPCLK, TSPDO, TSPEN_Rita; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 84 output [11:0] TSPACT; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 85 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 86 /* nets between DBB and ABB */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 87 wire Vdbb, Vrtc; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 88 wire CLK13M_OUT, CLK32K_OUT, nRESPWON, IT_WAKEUP; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 89 wire EXT_FIQ, EXT_IRQ; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 90 wire TSPEN_Iota; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 91 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 92 /* Baseband serial port */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 93 wire BSP_dbb2abb_data, BSP_dbb2abb_sync; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 94 wire BSP_abb2dbb_data, BSP_abb2dbb_sync; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 95 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 96 /* Voiceband serial port */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 97 wire VSP_DL_data, VSP_UL_data; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 98 wire VSP_clock, VSP_sync; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 99 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 100 /* MCU serial port */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 101 wire USP_dbb2abb_data, USP_abb2dbb_data, USP_enable; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 102 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 103 /* SIM interface at Vio */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 104 wire DBBSIO, DBBSCLK, DBBSRST; | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 105 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 106 /* instantiate the DBB and ABB blocks! */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 107 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 108 dbb_block dbb ( .GND(GND), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 109 .Vdbb(Vdbb), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 110 .Vio(Vio), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 111 .Vflash(Vflash), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 112 .Vrtc(Vrtc), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 113 .TSPCLKX(TSPCLK), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 114 .TSPDO(TSPDO), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 115 .TSPDI_IO4(GPIO4), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 116 .TSPEN[0](TSPEN_Iota), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 117 .TSPEN[1](), /* no connect */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 118 .TSPEN[2](TSPEN_Rita), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 119 .TSPEN[3](), /* no connect */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 120 .TSPACT(TSPACT), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 121 .DATA(MCU_D), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 122 .ADD(MCU_A), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 123 .RnW(MCU_RnW), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 124 .nFWE(MCU_nFWE), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 125 .nFOE(MCU_nFOE), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 126 .FDP(MCU_FDP), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 127 .nBLE(MCU_nBLE), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 128 .nBHE(MCU_nBHE), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 129 .nCS(MCU_nCS), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 130 .SCLK(SCLK), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 131 .SDO(SDO), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 132 .SDI_SDA(SDI_SDA), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 133 .nSCS0_SCL(nSCS0_SCL), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 134 .nSCS1(nSCS1), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 135 .TX_IRDA(TX_IRDA), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 136 .RX_IRDA(RX_IRDA), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 137 .TXIR_IRDA(TXIR_IRDA), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 138 .RXIR_IRDA(RXIR_IRDA), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 139 .SD_IRDA(SD_IRDA), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 140 .TX_MODEM(TX_MODEM), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 141 .RX_MODEM(RX_MODEM), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 142 .RTS_MODEM(RTS_MODEM), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 143 .CTS_MODEM(CTS_MODEM), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 144 .DSR_LPG(DSR_LPG), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 145 .MCSI_TXD(MCSI_TXD), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 146 .MCSI_RXD(MCSI_RXD), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 147 .MCSI_CLK(MCSI_CLK), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 148 .MCSI_FSYNCH(MCSI_FSYNCH), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 149 .KBC(KBC), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 150 .KBR(KBR), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 151 .BU_PWT(BU_PWT), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 152 .LT_PWL(LT_PWL), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 153 .GPIO[0](GPIO0), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 154 .GPIO[1](GPIO1), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 155 .GPIO[2](GPIO2), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 156 .GPIO[3](GPIO3), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 157 .nRESET_OUT_IO7(GPIO7_RESETOUT), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 158 .CLKTCXO(CLKTCXO_IN), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 159 .CLK32K_OUT(CLK32K_OUT), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 160 .CLK13M_OUT(CLK13M_OUT), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 161 .nRESPWON(nRESPWON), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 162 .EXT_FIQ(EXT_FIQ), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 163 .EXT_IRQ(EXT_IRQ), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 164 .TCXOEN(TCXOEN), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 165 .RFEN(RFEN), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 166 .ON_OFF(ON_nOFF), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 167 .IT_WAKEUP(IT_WAKEUP), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 168 .TDI(TDI), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 169 .TDO(TDO), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 170 .TCK(TCK), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 171 .TMS(TMS), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 172 .BFSR(BSP_abb2dbb_sync), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 173 .BDR(BSP_abb2dbb_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 174 .BFSX(BSP_dbb2abb_sync), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 175 .BDX(BSP_dbb2abb_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 176 .BCLKX_IO6(GPIO6), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 177 .BCLKR_ARMCLK(GND), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 178 .VDX(VSP_DL_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 179 .VDR(VSP_UL_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 180 .VFSRX(VSP_sync), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 181 .VCLKRX(VSP_clock), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 182 .MCUDI(USP_abb2dbb_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 183 .MCUDO(USP_dbb2abb_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 184 .MCUEN0(USP_enable), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 185 .MCUEN1_IO8(GPIO8), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 186 .MCUEN2_IO13(GPIO13), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 187 .SIM_IO(DBBSIO), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 188 .SIM_CLK(DBBSCLK), | 
| 10 
5ee03a306da3
Venus core: bring out SIM_CD
 Mychaela Falconia <falcon@freecalypso.org> parents: 
9diff
changeset | 189 .SIM_RST(DBBSRST), | 
| 
5ee03a306da3
Venus core: bring out SIM_CD
 Mychaela Falconia <falcon@freecalypso.org> parents: 
9diff
changeset | 190 .SIM_CD(SIM_CD) | 
| 9 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 191 ); | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 192 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 193 abb_block abb ( .GND(GND), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 194 .VBAT(VBAT), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 195 .VSIM(VSIM), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 196 .Vdbb(Vdbb), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 197 .Vio(Vio), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 198 .Vflash(Vflash), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 199 .Vsram(Vsram), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 200 .Vrtc(Vrtc), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 201 .nRESPWON(nRESPWON), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 202 .nTESTRESET(nTESTRESET), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 203 .Analog_IM(Analog_IM), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 204 .Analog_IP(Analog_IP), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 205 .Analog_QM(Analog_QM), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 206 .Analog_QP(Analog_QP), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 207 .ADIN1(ADIN1), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 208 .ADIN2(ADIN2), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 209 .ADIN3(ADIN3), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 210 .ADIN4(ADIN4), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 211 .AFC(AFC), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 212 .APC(APC), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 213 .AUXI(AUXI), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 214 .AUXON(AUXON), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 215 .AUXOP(AUXOP), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 216 .BDR(BSP_dbb2abb_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 217 .BDX(BSP_abb2dbb_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 218 .BFSR(BSP_dbb2abb_sync), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 219 .BFSX(BSP_abb2dbb_sync), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 220 .CK13M(CLK13M_OUT), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 221 .CK32K(CLK32K_OUT), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 222 .DAC(DAC), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 223 .DBBSCK(DBBSCLK), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 224 .DBBSIO(DBBSIO), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 225 .DBBSRST(DBBSRST), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 226 .EARN(EARN), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 227 .EARP(EARP), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 228 .HSMICBIAS(HSMICBIAS), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 229 .HSMICP(HSMICP), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 230 .HSO(HSO), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 231 .ICTL(ICTL), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 232 .INT1(EXT_FIQ), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 233 .INT2(EXT_IRQ), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 234 .ITWAKEUP(IT_WAKEUP), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 235 .LED_A(LED_A), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 236 .LED_B(LED_B), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 237 .LED_C(LED_C), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 238 .MICBIAS(MICBIAS), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 239 .MICIN(MICIN), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 240 .MICIP(MICIP), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 241 .ON_nOFF(ON_nOFF), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 242 .PCHG(PCHG), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 243 .PWON(PWON), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 244 .RPWON(RPWON), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 245 .TCK(), /* no connect */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 246 .TDI(), /* no connect */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 247 .TDO(), /* no connect */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 248 .TDR(TSPDO), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 249 .TEN(TSPEN_Iota), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 250 .TMS(), /* no connect */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 251 .UDR(USP_dbb2abb_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 252 .UDX(USP_abb2dbb_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 253 .UEN(USP_enable), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 254 .VBATS(VBATS), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 255 .VCCS(VCCS), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 256 .VCHG(VCHG), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 257 .VCK(VSP_clock), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 258 .VDR(VSP_DL_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 259 .VDX(VSP_UL_data), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 260 .VFS(VSP_sync), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 261 .SIM_IO(SIM_IO), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 262 .SIM_CLK(SIM_CLK), | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 263 .SIM_RST(SIM_RST) | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 264 ); | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 265 | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 266 /* there needs to be a pull-down resistor on the MCUDI/UDX net */ | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 267 resistor R216 (USP_abb2dbb_data, GND); | 
| 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 268 | 
| 56 
ec932276c8e6
VSP sniff tap implemented
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 269 /* VSP tap header */ | 
| 
ec932276c8e6
VSP sniff tap implemented
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 270 header_5pin VSP_tap ( .pin_1(VSP_clock), | 
| 
ec932276c8e6
VSP sniff tap implemented
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 271 .pin_2(VSP_UL_data), | 
| 
ec932276c8e6
VSP sniff tap implemented
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 272 .pin_3(VSP_DL_data), | 
| 
ec932276c8e6
VSP sniff tap implemented
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 273 .pin_4(VSP_sync), | 
| 
ec932276c8e6
VSP sniff tap implemented
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 274 .pin_5(GND) | 
| 
ec932276c8e6
VSP sniff tap implemented
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 275 ); | 
| 
ec932276c8e6
VSP sniff tap implemented
 Mychaela Falconia <falcon@freecalypso.org> parents: 
10diff
changeset | 276 | 
| 9 
3ed0f7a9c489
Venus: first version of Verilog for the Calypso core
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 277 endmodule | 
