Review independent change requests against the frozen map before anyone wires a new select.
Hardware context: ap_soc peripheral allocation. Firmware-compatible peripheral expansion
Each request adds one device to v1.0. Start again from the original map for every row. Record 1 for legal and 0 for illegal.
This worksheet uses named constants. The first three entries show how to record your decisions.
Replace each unresolved value of 255 with your decision.
Signals in the Timeline
| Signal | Width | Role |
|---|---|---|
question | 8 | input of each check |
Full specification
| Existing allocation | Address range (inclusive) |
|---|---|
| Bridge envelope | 0x10000000 through 0x1000ffff |
| Seven implemented APB pages | 0x10000000 through 0x10006fff |
| Reserved APB | 0x10008000 through 0x1000ffff |
| SRAM and its reserve | 0x80000000 through 0x8001ffff |
Other proposed AHB ranges within the address space are free. Keep all existing allocations. The address space ends at 0xffffffff.
Require a positive power-of-two byte count and natural alignment. APB devices must fit inside the bridge. AHB devices must stay outside.
| Entry | Your decision |
|---|---|
| FREE | APB, base 0x10007000, size 4096 bytes |
| USED | APB, base 0x10006000, size 4096 bytes |
| ABOVE | AHB, base 0x80020000, size 65536 bytes |
| SKEW | APB, base 0x10007400, size 2048 bytes |
| CLAIM | APB, base 0x10008000, size 4096 bytes |
| CROSS | AHB, base 0x10007000, size 4096 bytes |
| REMOTE | APB, base 0x20000000, size 4096 bytes |
| LENGTH | AHB, base 0x20001000, size 3072 bytes |
| TOP | AHB, base 0xfffff000, size 4096 bytes |
| WRAP | AHB, base 0xfffff000, size 8192 bytes |
| HALF | APB, base 0x10007800, size 2048 bytes |
| EMPTY | APB, base 0x10007000, size 0 bytes |
| PAST | AHB, base 0x100000000, size 4096 bytes |
| LAST_REQUEST | Add an APB device of 2048 bytes at 0x10007000 + QUARTER × 1024. Is this legal? |
Examples
Example 1
FREE- Input
APB, base 0x10007000, size 4096 bytes
- Output
decision = legal (1)
One page fits exactly between DMA and the reserve.
Example 2
USED- Input
APB, base 0x10006000, size 4096 bytes
- Output
decision = illegal (0)
DMA owns this page.
Example 3
ABOVE- Input
AHB, base 0x80020000, size 65536 bytes
- Output
decision = legal (1)
This base follows the SRAM reserve.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For LAST_REQUEST, enter a constant expression using QUARTER. Only this entry changes with the parameter. The supported integer range is 0 through 3, inclusive.
Hints
Hint 1
Count bytes from the first address through the final included byte.
Hint 2
Treat the reserve as occupied.
Hint 3
Use the bridge envelope to decide which bus can reach the interval.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
17 checks on Icarus Verilog · server. Run the examples first, then check the full regression. Full checks use the server judge. Downloads contain your source only; samples require the simulation service. A passing result establishes the tested cases, not a proof for all possible inputs.
See all 3 problems on this path