mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-24 16:38:43 +08:00
restore fancy formatting in io
This commit is contained in:
@@ -5,10 +5,10 @@ import spinal.core._
|
|||||||
// Hardware definition
|
// Hardware definition
|
||||||
class MyTopLevel extends Component {
|
class MyTopLevel extends Component {
|
||||||
val io = new Bundle {
|
val io = new Bundle {
|
||||||
val cond0 = in Bool ()
|
val cond0 = in Bool()
|
||||||
val cond1 = in Bool ()
|
val cond1 = in Bool()
|
||||||
val flag = out Bool ()
|
val flag = out Bool()
|
||||||
val state = out UInt (8 bits)
|
val state = out UInt(8 bits)
|
||||||
}
|
}
|
||||||
|
|
||||||
val counter = Reg(UInt(8 bits)) init 0
|
val counter = Reg(UInt(8 bits)) init 0
|
||||||
|
|||||||
Reference in New Issue
Block a user