[−][src]Module flp_framework::address
The flp_framework::address
Module
This module contains some of the basic primitive address types supported by Floorplan including void addresses, words, bytes, and so on. The implementations in this file look much like what gets generated for Floorplan-defined types, but are manually coded here to provide stronger control over how they get used.
For information on acquiring the Floorplan compiler itself, go see the GitHub project here.
Structs
AddrAddr | A generic address that points to a memory location containing an address. |
Byte | A |
ByteAddr | A |
VoidAddr | A |
Word | A |
WordAddr | A |
Constants
BYTES_IN_WORD | The number of bytes in a word of memory. |
LOG_BYTES_IN_WORD | Log base 2 of the number of bytes in a word of memory. |
Functions
lower_bits | Mask for just the nth-lowest bits of a byte. |
test_nth_bit | Determine whether or not the nth-lowest bit of a byte is set. |