Updated attribute dialog
This commit is contained in:
1 parent
05fa2abbb0
commit
23764776f1
8 files changed
+151
-23
No files matched your search
@@ -75,6 +75,27 @@
|
||||
@tooltip "Memorijska komponenta, mora postojati barem jedna"
|
||||
@count (1,1000)
|
||||
@source "memory.cdl"
|
||||
|
||||
@attribute sinkroniziran bool default false {
|
||||
@popup automatic {
|
||||
@title "Postavite sinkroniziranost"
|
||||
@text "Zadajte sinkronizaciju"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@attribute brzina int default 1 {
|
||||
@popup automatic {
|
||||
@title "Postavite brzinu memorije"
|
||||
@text "Zadajte brzinu memorije"
|
||||
@enumerated {
|
||||
"Spora" = 1,
|
||||
"Srednja" = 5,
|
||||
"Brza" = 25,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@attribute kapacitet int default 65536 {
|
||||
@popup automatic {
|
||||
@title "Kapacitet memorije"
|
||||
@@ -171,6 +192,7 @@
|
||||
@tooltip "DMA-kontroler"
|
||||
@count (1,1000)
|
||||
@source "dma.cdl"
|
||||
|
||||
@attribute pocetnaAdresa int default 0 {
|
||||
@popup automatic {
|
||||
@title "Početna adresa DMA-kontrolera"
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
@instance mem Memorija {
|
||||
@position (0, 250)
|
||||
@attribute sinkroniziran false
|
||||
@attribute brzina 1
|
||||
@attribute kapacitet 1024
|
||||
@attribute size 8
|
||||
@attribute pocetnaAdresa 1023
|
||||
|
||||
@@ -7,9 +7,10 @@
|
||||
|
||||
@instance mem Memorija {
|
||||
@position (0, 250)
|
||||
@attribute kapacitet 1024
|
||||
@attribute brzina 25
|
||||
@attribute kapacitet 2048
|
||||
@attribute size 8
|
||||
@attribute pocetnaAdresa 1023
|
||||
@attribute pocetnaAdresa 0
|
||||
}
|
||||
|
||||
@instance bus glavnaSabirnica {
|
||||
@@ -17,18 +18,17 @@
|
||||
@size 100
|
||||
}
|
||||
|
||||
@wire wire_001 {
|
||||
@position (50, 116)
|
||||
@display {}
|
||||
}
|
||||
@wire wire_002 {
|
||||
@position (50, 220)
|
||||
@display {}
|
||||
@instance testBus Test {
|
||||
@position (0, 200)
|
||||
@size 0
|
||||
}
|
||||
|
||||
@connection (proc.glavniPin, bus) {
|
||||
@wire wire_001
|
||||
}
|
||||
@connection (mem.glavniPin, bus) {
|
||||
@wire wire_002
|
||||
}
|
||||
@connection (proc.glavniPin, testBus, mem.glavniPin) {
|
||||
@attribute dmaPoveznica "READY"
|
||||
@attribute mmaPoveznica "PIO_DATA"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user