schema_editor/examples/simplified FRISC model/schema2.csl

37 lines
639 B
Plaintext
Raw Normal View History

2022-04-24 20:21:45 +00:00
@source "frisc_library.csl"
@schema {
2022-05-15 21:55:03 +00:00
@instance proc FRISC {
2022-04-24 20:21:45 +00:00
@position (0, 0)
2022-05-15 21:55:03 +00:00
@attribute _memory mem
2022-04-24 20:21:45 +00:00
}
2022-05-15 21:55:03 +00:00
@instance mem Memorija {
2022-04-24 20:21:45 +00:00
@position (0, 250)
2022-05-15 15:00:20 +00:00
@attribute sinkroniziran false
@attribute brzina 1
@attribute kapacitet 1024
2022-04-24 20:21:45 +00:00
@attribute size 8
2022-05-15 15:00:20 +00:00
@attribute pocetnaAdresa 1023
2022-04-24 20:21:45 +00:00
}
2022-05-15 21:55:03 +00:00
@instance bus glavnaSabirnica {
2022-04-24 20:21:45 +00:00
@position (0, 200)
@size 100
}
2022-05-15 14:13:29 +00:00
@instance testBus Test {
@position (0, 200)
@size 0
2022-04-24 20:21:45 +00:00
}
2022-05-15 14:13:29 +00:00
2022-05-15 21:55:03 +00:00
@connection (proc.glavniPin, bus) {
2022-04-24 20:21:45 +00:00
}
2022-05-15 21:55:03 +00:00
@connection (mem.glavniPin, bus) {
2022-05-15 14:13:29 +00:00
}
2022-05-15 21:55:03 +00:00
@connection (proc.glavniPin, testBus, mem.glavniPin) {
2022-05-15 14:13:29 +00:00
@attribute dmaPoveznica "READY"
@attribute mmaPoveznica "PIO_DATA"
2022-04-24 20:21:45 +00:00
}
}