schema_editor/examples/simplified FRISC model/schema2.csl

35 lines
516 B
Plaintext

@source "frisc_library.csl"
@schema {
@instance proc FRISC {
@position (0, 0)
}
@instance mem Memorija {
@position (0, 250)
@attribute kapacitet 1024
@attribute size 8
@attribute pocetnaAdresa 1023
}
@instance bus glavnaSabirnica {
@position (0, 200)
@size 100
}
@wire wire_001 {
@position (50, 116)
@display {}
}
@wire wire_002 {
@position (50, 220)
@display {}
}
@connection (proc.glavniPin, bus) {
@wire wire_001
}
@connection (mem.glavniPin, bus) {
@wire wire_002
}
}