shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 1 | module mprj_io( |
Tim Edwards | 04ba17f | 2020-10-02 22:27:50 -0400 | [diff] [blame] | 2 | inout vdd, |
| 3 | inout vdd1v8, |
| 4 | inout vss, |
| 5 | input vddio_q, |
| 6 | input vssio_q, |
| 7 | input analog_a, |
| 8 | input analog_b, |
| 9 | input [`MPRJ_IO_PADS-1:0] io, |
| 10 | input [`MPRJ_IO_PADS-1:0] io_out, |
| 11 | input [`MPRJ_IO_PADS-1:0] oeb_n, |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 12 | input [`MPRJ_IO_PADS-1:0] hldh_n, |
Tim Edwards | 04ba17f | 2020-10-02 22:27:50 -0400 | [diff] [blame] | 13 | input [`MPRJ_IO_PADS-1:0] enh, |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 14 | input [`MPRJ_IO_PADS-1:0] inp_dis, |
| 15 | input [`MPRJ_IO_PADS-1:0] ib_mode_sel, |
Tim Edwards | 04ba17f | 2020-10-02 22:27:50 -0400 | [diff] [blame] | 16 | input [`MPRJ_IO_PADS-1:0] vtrip_sel, |
| 17 | input [`MPRJ_IO_PADS-1:0] slow_sel, |
| 18 | input [`MPRJ_IO_PADS-1:0] holdover, |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 19 | input [`MPRJ_IO_PADS-1:0] analog_en, |
| 20 | input [`MPRJ_IO_PADS-1:0] analog_sel, |
| 21 | input [`MPRJ_IO_PADS-1:0] analog_pol, |
| 22 | input [`MPRJ_IO_PADS*3-1:0] dm, |
Tim Edwards | 04ba17f | 2020-10-02 22:27:50 -0400 | [diff] [blame] | 23 | output [`MPRJ_IO_PADS-1:0] io_in |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 24 | ); |
| 25 | |
| 26 | `MPRJ_IO_PAD_V(io, io_in, io_out, `MPRJ_IO_PADS, |
| 27 | oeb_n, hldh_n, enh, inp_dis, ib_mode_sel, |
Tim Edwards | 04ba17f | 2020-10-02 22:27:50 -0400 | [diff] [blame] | 28 | vtrip_sel, slow_sel, holdolver, |
shalan | 0d14e6e | 2020-08-31 16:50:48 +0200 | [diff] [blame] | 29 | analog_en, analog_sel, analog_pol, dm); |
| 30 | |
Tim Edwards | 04ba17f | 2020-10-02 22:27:50 -0400 | [diff] [blame] | 31 | endmodule |