Menu

#64 ROM & RAM Image load for 16 x 16 truncates data (file fix)

closed-fixed
nobody
None
5
2010-09-27
2010-09-17
Anonymous
No

Same bug as before, just attached correct example file.

Trying to load an image into a 16 x 16 ROM or RAM loads only the addresses from 0x0000 to 0x0FFF. The remaining memory reads as zeros.

Manually editing beyond 0x0FFF works correctly. ie: the circuit will return correct values, but attempts to load the image truncate starting at address 0x1000.

I tried manually editing the circuit file to cut'n'paste directly into the XML code. The circuit loads but the same problem appears.

Attached is the example circuit file and load image that reproduces the problem.

Logisim 2.5.1

Windows XP Platform

Discussion

  • Nobody/Anonymous

    Example circuit and test image load data

     
  • Carl Burch

    Carl Burch - 2010-09-27
    • status: open --> closed-fixed
     
  • Carl Burch

    Carl Burch - 2010-09-27

    Thanks. Today's new release (2.6.0) has a fix meant to address this problem. This problem would have appeared for any file representing more than 4,096 memory locations, where the 4,096th entry happens to come at the end of a line. It has been present for Logisim for quite a while, and I'm sure others have run into it without bothering to report it - though it is quite a frustrating problem. Thanks for the report!

     

Log in to post a comment.

MongoDB Logo MongoDB