Compare commits
2 Commits
e9625bf8ee
...
2ff28e6af6
Author | SHA1 | Date | |
---|---|---|---|
2ff28e6af6 | |||
41362a1cb5 |
@ -98,6 +98,7 @@ abstract class ML507Shell(implicit val p: Parameters) extends RawModule {
|
||||
|
||||
// active high reset
|
||||
val reset = IO(Input(Bool()))
|
||||
val reset_led = IO(Output(Bool()))
|
||||
|
||||
// LED
|
||||
val led = IO(Vec(8, Output(Bool())))
|
||||
@ -105,8 +106,6 @@ abstract class ML507Shell(implicit val p: Parameters) extends RawModule {
|
||||
// UART
|
||||
val uart_tx = IO(Output(Bool()))
|
||||
val uart_rx = IO(Input(Bool()))
|
||||
val uart_rtsn = IO(Output(Bool()))
|
||||
val uart_ctsn = IO(Input(Bool()))
|
||||
|
||||
// SDIO
|
||||
val sdio_clk = IO(Output(Bool()))
|
||||
@ -176,6 +175,9 @@ abstract class ML507Shell(implicit val p: Parameters) extends RawModule {
|
||||
// Allow the debug module to reset everything. Resets the MIG
|
||||
sys_reset := reset | dut_ndreset
|
||||
|
||||
// Status LED for reset
|
||||
reset_led := reset
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// Clock Generator
|
||||
//-----------------------------------------------------------------------
|
||||
@ -225,8 +227,6 @@ abstract class ML507Shell(implicit val p: Parameters) extends RawModule {
|
||||
// UART
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
uart_rtsn := false.B
|
||||
|
||||
def connectUART(dut: HasPeripheryUARTModuleImp): Unit = {
|
||||
val uartParams = p(PeripheryUARTKey)
|
||||
if (!uartParams.isEmpty) {
|
||||
|
Loading…
Reference in New Issue
Block a user