Creating a PROM in LogicWorks 4

In this session, we are going to learn how to create a PROM in LogicWorks 4.
Once stored properly, it could be used like any other device in a Library.

(1)
(1a)Prepare data file for the PROM
Start a simple Editor such as Notepad (Start->Programs->Accessaries->Notepad).
Type in a test program such as "6010 1011 7012 0000" (four instructions: ldg [010], add [011], sdg [012], hlt).

(1b)Save the file
Save the file in (1a) as "memprom01.hex".

(2)Creating a PROM session
(2a)Select "Simulation" and "PROM/RAM/PLA Wizard" from the tool bar at the top.

(2b)Select "PROM"

(2c)Choose 12 bit address lines and 16 bit per word. Select Read data from a raw hex file as Data Entry Method.

(2d)Select "Raw Hex File"

(2e)Select "memprom01.hex" prepared in (1)as our "Hex File".

(2f)Name the part as "prom01" and save it in your library.

(2g)Observe "prom01" is now available as a device. It contains the test data "memprom01.hex"; 6010H is at location 0, 1011H at location 1, 7012H at location 2, and 0000H at location 3.