Wired Flash Memory (EEPROM)
From GMod Wiki
Wiremod Tool | Back |
Function: | Spawns flash memory (similar to a hard drive.) |
Primary fire: | Spawns the flash memory. |
Secondary fire: | No action |
Reload: | No action |
Notes: | Works like RAM. |
Brief
It's like permanent RAM, from the Memory gate tool.
Instructions
Shoot where you want to place the flash memory.
Inputs
- ReadAddr
- WriteAddr
- Data
- Clk
Outputs
Data
Variables
Memory in kilobytes.
Useful hints
- It saves over sessions by writing a .txt with values in your /data folder.
Example
When Clk is 1, the Data input will be written to WriteAddr. The Data output will also be set to what's at ReadAddr. Simple enough to use.