Added component/bus deletion and rename
This commit is contained in:
1 parent
f93a2afa63
commit
3172d7e4cf
14 files changed
+322
-159
No files matched your search
@@ -1,42 +1,14 @@
|
||||
@source "frisc_library.csl"
|
||||
@source "/home/bbr/Documents/Personal/FER/schema_editor/examples/simplified FRISC model/frisc_library.csl"
|
||||
|
||||
@schema {
|
||||
@instance procesor_002 FRISC {
|
||||
@position (0, 0)
|
||||
@attribute _memory null
|
||||
}
|
||||
|
||||
@instance mem Memorija {
|
||||
@position (0, 250)
|
||||
@attribute sinkroniziran false
|
||||
@attribute brzina 1
|
||||
@attribute kapacitet 1024
|
||||
@attribute size 8
|
||||
@attribute pocetnaAdresa 1024
|
||||
}
|
||||
|
||||
@instance procesor_001 FRISC {
|
||||
@position (-89, 74)
|
||||
@attribute _memory null
|
||||
}
|
||||
|
||||
@instance procesor_000 FRISC {
|
||||
@position (-175, 195)
|
||||
@attribute _memory null
|
||||
@instance procesor FRISC {
|
||||
@position (-177, -122)
|
||||
@attribute _memory memorija2
|
||||
}
|
||||
|
||||
@instance procesor FRISC {
|
||||
@position (-195, 63)
|
||||
@position (49, -97)
|
||||
@attribute _memory null
|
||||
}
|
||||
|
||||
@instance bus glavnaSabirnica {
|
||||
@position (0, 200)
|
||||
@size 100
|
||||
}
|
||||
|
||||
@connection (procesor_002.glavniPin, bus) {
|
||||
}
|
||||
@connection (mem.glavniPin, bus) {
|
||||
}
|
||||
}
|
||||
@@ -2,33 +2,13 @@
|
||||
|
||||
@schema {
|
||||
@instance procesor FRISC {
|
||||
@position (-76, -97)
|
||||
@attribute _memory memorija
|
||||
@position (-112, -89)
|
||||
@attribute _memory memorija2
|
||||
}
|
||||
|
||||
@instance memorija Memorija {
|
||||
@position (52, 119)
|
||||
@attribute sinkroniziran false
|
||||
@attribute brzina 1
|
||||
@attribute kapacitet 65536
|
||||
@attribute size 8
|
||||
@attribute pocetnaAdresa 0
|
||||
}
|
||||
@instance procesor FRISC {
|
||||
@position (112, -89)
|
||||
@attribute _memory null
|
||||
}
|
||||
|
||||
@instance glavnaSabirnica glavnaSabirnica {
|
||||
@position (-78, 88)
|
||||
@size 100
|
||||
}
|
||||
|
||||
@instance directRam directRam {
|
||||
@position (0, 0)
|
||||
@size 0
|
||||
}
|
||||
|
||||
@connection (memorija.glavniPin, glavnaSabirnica) {
|
||||
}
|
||||
@connection (procesor.glavniPin, glavnaSabirnica) {
|
||||
}
|
||||
@connection (memorija.memDirect, directRam, procesor.memDirect) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user