schema_editor/examples/simplified FRISC model/schema_2.csch

50 lines
932 B
Plaintext
Raw Normal View History

2022-06-19 18:38:24 +00:00
@source "frisc_library.csl"
2022-06-05 23:10:11 +00:00
@schema {
@instance procesor FRISC {
2022-06-13 22:53:46 +00:00
@position (-104, -102)
2022-06-05 23:10:11 +00:00
@attribute _memory null
}
2022-06-13 22:53:46 +00:00
@instance memorija Memorija {
@position (39, 199)
@attribute sinkroniziran false
@attribute brzina 1
@attribute kapacitet 1024
@attribute size 8
@attribute pocetnaAdresa 0
}
@instance dma DMA {
@position (-352, 13)
@attribute pocetnaAdresa 1024
}
2022-06-05 23:10:11 +00:00
@instance glavnaSabirnica glavnaSabirnica {
2022-06-13 22:53:46 +00:00
@position (-106, 80)
2022-06-05 23:10:11 +00:00
@size 100
}
2022-06-13 22:53:46 +00:00
@instance PIOSabirnica PIOSabirnica {
@position (0, 0)
@size -1
}
@instance directRam directRam {
@position (0, 0)
@size -1
}
2022-06-09 18:24:27 +00:00
@connection (procesor.glavniPin, glavnaSabirnica) {
2022-06-05 23:10:11 +00:00
}
2022-06-13 22:53:46 +00:00
@connection (memorija.glavniPin, glavnaSabirnica) {
}
@connection (dma.glavniPin, glavnaSabirnica) {
@attribute interupt INT0
}
@connection (memorija.memDirect, directRam, procesor.memDirect) {
@attribute procConn "INT"
@attribute memConn "INT"
}
2022-06-05 23:10:11 +00:00
}