2022-06-19 18:10:44 +00:00
|
|
|
@source "arm_library.csl"
|
2022-06-19 18:38:24 +00:00
|
|
|
|
2022-06-19 18:10:44 +00:00
|
|
|
@schema {
|
|
|
|
@instance bridge Bridge {
|
|
|
|
@position (-263, -97)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance arm ARM7tdmi {
|
|
|
|
@position (-473, -283)
|
|
|
|
@attribute _memory memorija
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance memorija Memory64KiB {
|
|
|
|
@position (-545, 37)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance decoder Decoder {
|
|
|
|
@position (-541, -212)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance rtc RTC_IO {
|
|
|
|
@position (-63, -190)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio GPIO {
|
|
|
|
@position (32, 11)
|
|
|
|
@attribute title "GPIO 1"
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance temperature Temperature {
|
|
|
|
@position (144, -25)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance led LED {
|
|
|
|
@position (159, 138)
|
|
|
|
@attribute onColor "green"
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance led_000 LED {
|
|
|
|
@position (182, 139)
|
|
|
|
@attribute onColor "yellow"
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance led_001 LED {
|
|
|
|
@position (202, 140)
|
|
|
|
@attribute onColor "red"
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance interruptSelector interrupt_selector {
|
|
|
|
@position (-235, -134)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance signal signal {
|
|
|
|
@position (63, -44)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance interruptSelector_000 interrupt_selector {
|
|
|
|
@position (-238, -160)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance lcd lcd8 {
|
|
|
|
@position (181, -199)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_000 GPIO {
|
|
|
|
@position (53, -222)
|
|
|
|
@attribute title "GPIO 2"
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance push_button pushbutton {
|
|
|
|
@position (260, -98)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance toggle_button togglebutton {
|
|
|
|
@position (205, -70)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance dmac DMAC_simple {
|
|
|
|
@position (-445, 12)
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance ui_unit UI_UNIT {
|
2022-06-19 18:38:24 +00:00
|
|
|
@position (-200, 24)
|
2022-06-19 18:10:44 +00:00
|
|
|
@attribute type 0
|
|
|
|
@attribute name "Izlaz"
|
|
|
|
@attribute width 8
|
|
|
|
@attribute duration 40
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance ui_unit_000 UI_UNIT {
|
|
|
|
@position (-118, 63)
|
|
|
|
@attribute type 1
|
|
|
|
@attribute name "Ulaz"
|
|
|
|
@attribute width 8
|
|
|
|
@attribute duration 40
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance ahb AHB {
|
|
|
|
@position (-514, -86)
|
|
|
|
@size 249
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance apb APB {
|
|
|
|
@position (-201, -87)
|
|
|
|
@size 329
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_port gpio_port {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_port_000 gpio_port {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_sa gpio_sa {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_sa_000 gpio_sa {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_sa_001 gpio_sa {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_sa_002 gpio_sa {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_port_001 gpio_port {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_sa_003 gpio_sa {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance gpio_sa_004 gpio_sa {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance arm_dmac dmac_io {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@instance arm_dmac_000 dmac_io {
|
|
|
|
@position (0, 0)
|
|
|
|
@size -1
|
|
|
|
}
|
|
|
|
|
|
|
|
@connection (bridge.ahbPin, ahb) {
|
|
|
|
}
|
|
|
|
@connection (bridge.apbPin, apb) {
|
|
|
|
}
|
|
|
|
@connection (memorija.ahbPin, ahb) {
|
|
|
|
}
|
|
|
|
@connection (arm.ahbPin, ahb) {
|
|
|
|
}
|
|
|
|
@connection (decoder.ahbPin, ahb) {
|
|
|
|
}
|
|
|
|
@connection (rtc.apbPin, apb) {
|
|
|
|
}
|
|
|
|
@connection (gpio.apbPin, apb) {
|
|
|
|
@attribute gpioSelect sel_gpio_1
|
|
|
|
}
|
|
|
|
@connection (gpio.portA, gpio_port_000, temperature.gpioPin) {
|
|
|
|
}
|
|
|
|
@connection (gpio.portB, gpio_sa, led.gpioPin) {
|
|
|
|
@attribute gpioPortB "XP0"
|
|
|
|
@attribute ledGpioPin "Ulaz"
|
|
|
|
}
|
|
|
|
@connection (gpio.portB, gpio_sa_000, led_000.gpioPin) {
|
|
|
|
@attribute gpioPortB "XP4"
|
|
|
|
@attribute ledGpioPin "Ulaz"
|
|
|
|
}
|
|
|
|
@connection (gpio.portB, gpio_sa_001, led_001.gpioPin) {
|
|
|
|
@attribute gpioPortB "XP6"
|
|
|
|
@attribute ledGpioPin "Ulaz"
|
|
|
|
}
|
|
|
|
@connection (interruptSelector.ahbPin, ahb) {
|
|
|
|
}
|
|
|
|
@connection (interruptSelector.apbPin, apb) {
|
|
|
|
@attribute interrupt rtc_int
|
|
|
|
}
|
|
|
|
@connection (signal.apbPin, apb) {
|
|
|
|
}
|
|
|
|
@connection (interruptSelector_000.ahbPin, ahb) {
|
|
|
|
}
|
|
|
|
@connection (interruptSelector_000.apbPin, apb) {
|
|
|
|
@attribute interrupt dmac_int
|
|
|
|
}
|
|
|
|
@connection (gpio_000.apbPin, apb) {
|
|
|
|
@attribute gpioSelect sel_gpio_2
|
|
|
|
}
|
|
|
|
@connection (gpio_000.portA, gpio_port_001, lcd.gpioPin) {
|
|
|
|
}
|
|
|
|
@connection (gpio_000.portB, gpio_sa_003, push_button.gpioPin) {
|
|
|
|
@attribute gpioPortB "XP0"
|
|
|
|
@attribute buttonGpioPin "Izlaz"
|
|
|
|
}
|
|
|
|
@connection (gpio_000.portB, gpio_sa_004, toggle_button.gpioPin) {
|
|
|
|
@attribute gpioPortB "XP1"
|
|
|
|
@attribute buttonGpioPin "Izlaz"
|
|
|
|
}
|
|
|
|
@connection (dmac.apbPin, apb) {
|
|
|
|
}
|
|
|
|
@connection (dmac.ahbMasterPin, ahb) {
|
|
|
|
}
|
|
|
|
@connection (dmac.ahbSlavePin, ahb) {
|
|
|
|
}
|
|
|
|
@connection (ui_unit_000.dmacPin, arm_dmac, dmac.dev3) {
|
|
|
|
}
|
|
|
|
@connection (ui_unit.dmacPin, arm_dmac_000, dmac.dev2) {
|
|
|
|
}
|
|
|
|
@connection (ui_unit.apbPin, apb) {
|
|
|
|
@attribute intSelect sel_ui_in
|
|
|
|
}
|
|
|
|
@connection (ui_unit_000.apbPin, apb) {
|
|
|
|
@attribute intSelect sel_ui_out
|
|
|
|
}
|
|
|
|
}
|