URL
https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 3 |
Rev 4 |
Line 54... |
Line 54... |
layout->addWidget(lbl4, 3, 1, Qt::AlignLeft);
|
layout->addWidget(lbl4, 3, 1, Qt::AlignLeft);
|
|
|
setLayout(layout);
|
setLayout(layout);
|
|
|
char tstr[64];
|
char tstr[64];
|
ISocInfo *info = static_cast<ISocInfo *>(igui_->getSocInfo());
|
uint32_t addr_gpio = 0x80000000;
|
uint32_t addr_gpio = static_cast<int>(info->addressGpio());
|
|
RISCV_sprintf(tstr, sizeof(tstr), "read 0x%08x 8", addr_gpio);
|
RISCV_sprintf(tstr, sizeof(tstr), "read 0x%08x 8", addr_gpio);
|
cmdRd_.make_string(tstr);
|
cmdRd_.make_string(tstr);
|
}
|
}
|
|
|
GpioWidget::~GpioWidget() {
|
GpioWidget::~GpioWidget() {
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.