Updated translations + bugfixes
This commit is contained in:
1 parent
1759adf25a
commit
f66fc1db26
20 files changed
+157
-158
No files matched your search
@@ -1,6 +1,5 @@
|
||||
// Version 0.0.1
|
||||
#include "libraries\frisc\vjezba1\FRISC.cdl"
|
||||
#include "libraries\frisc\vjezba1\dma.cdl"
|
||||
#include "libraries\frisc\vjezba1\memory.cdl"
|
||||
|
||||
|
||||
@@ -24,43 +23,31 @@ component System
|
||||
wire --BACK;
|
||||
|
||||
|
||||
//PIOSabirnica
|
||||
wire<8> PIO_DATA;
|
||||
wire READY;
|
||||
wire STROBE;
|
||||
|
||||
|
||||
//directRam
|
||||
wire INT;
|
||||
|
||||
|
||||
// components --------------------------------------------
|
||||
subcomponent Memorija memorija<false, 1, 1024, 8, 0>(ADR, DATA, READ, WRITE, SIZE, WAIT, INT, *, *, *);
|
||||
subcomponent Memorija memorija<false, 1, 65536, 8, 0>(ADR, DATA, READ, WRITE, SIZE, WAIT, *, *, *, INT);
|
||||
subcomponent FRISC procesor(ADR, DATA, READ, WRITE, SIZE, WAIT, INT0, INT1, INT2, INT3, --IACK, 1, *, INT, *, *, *);
|
||||
subcomponent DMA dma<1024>(ADR, DATA, READ, WRITE, SIZE, WAIT, INT0, --BREQ, --BACK, 0, 0, *, *);
|
||||
|
||||
display {
|
||||
component { x: -104; y: -102; ref: "procesor"; }
|
||||
component { x: 39; y: 199; ref: "memorija"; }
|
||||
component { x: -352; y: 13; ref: "dma"; }
|
||||
component { x: -377; y: -302; ref: "procesor"; }
|
||||
component { x: -56; y: -80; ref: "memorija"; }
|
||||
|
||||
// glavnaSabirnica bus
|
||||
|
||||
rectangle {
|
||||
x: -106; y: 80;
|
||||
x: -377; y: -106;
|
||||
w: 100; h: 20;
|
||||
}
|
||||
|
||||
|
||||
// PIOSabirnica bus
|
||||
|
||||
|
||||
// directRam bus
|
||||
|
||||
|
||||
line {x1:-54; y1:14; x2:-55; y2:90;}
|
||||
line {x1:89; y1:183; x2:-55; y2:90;}
|
||||
line {x1:-244; y1:79; x2:-55; y2:90;}
|
||||
line {x1:23; y1:227; x2:12; y2:-52;}
|
||||
line {x1:-6; y1:-96; x2:-326; y2:-95;}
|
||||
line {x1:-327; y1:-186; x2:-326; y2:-95;}
|
||||
line {x1:-72; y1:-52; x2:-261; y2:-252;}
|
||||
}
|
||||
}
|
||||
@@ -2,35 +2,15 @@
|
||||
|
||||
@schema {
|
||||
@instance procesor FRISC {
|
||||
@position (-162, -117)
|
||||
@position (-543, -304)
|
||||
@attribute _memory null
|
||||
}
|
||||
|
||||
@instance dma DMA {
|
||||
@position (-393, -26)
|
||||
@attribute pocetnaAdresa 0
|
||||
}
|
||||
|
||||
@instance glavnaSabirnica glavnaSabirnica {
|
||||
@position (-155, 49)
|
||||
@position (-544, -91)
|
||||
@size 100
|
||||
}
|
||||
|
||||
@instance PIOSabirnica PIOSabirnica {
|
||||
@position (0, 0)
|
||||
@size 0
|
||||
}
|
||||
|
||||
@instance PIOSabirnica PIOSabirnica {
|
||||
@position (0, 0)
|
||||
@size 0
|
||||
}
|
||||
|
||||
@connection (dma.glavniPin, PIOSabirnica, procesor.glavniPin) {
|
||||
}
|
||||
@connection (dma.glavniPin, glavnaSabirnica) {
|
||||
@attribute interupt 1
|
||||
}
|
||||
@connection (dma.glavniPin, PIOSabirnica, procesor.glavniPin) {
|
||||
@connection (procesor.glavniPin, glavnaSabirnica) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user