Search found 419 matches

by cfbsoftware
Wed Mar 16, 2022 4:28 am
Forum: Astrobe for FPGA RISC5
Topic: Problems with RISC5 Version 8 SDDisk
Replies: 4
Views: 1109

Re: Problems with RISC5 Version 8 SDDisk

Maybe you are trying to program the xc7a35t FPGA directly instead of programming the CMod-A7 Quad-SPI Flash? Refer to Section 4 Quad-SPI Flash in the CMod A7 Reference Manual for details: https://digilent.com/reference/programmable-logic/cmod-a7/reference-manual When you have used the information th...
by cfbsoftware
Sun Mar 13, 2022 4:26 am
Forum: Astrobe for FPGA RISC5
Topic: Problems with RISC5 Version 8 SDDisk
Replies: 4
Views: 1109

Re: Problems with RISC5 Version 8 SDDisk

Sorry about the delay in replying - I didn't notice your message in the moderation queue until today. Subsequent messages from you will not require approval. What SD Card adapter are you using? What tool did you use to store the SD Card image onto the SD Card? Are you sure you used the correct bitst...
by cfbsoftware
Tue Feb 22, 2022 11:09 pm
Forum: CPIde and Component Pascal
Topic: GPCP Unhandled Exception
Replies: 1
Views: 872

Re: GPCP Unhandled Exception

The clues in the exception traceback report are the procedure calls GPBinFiles.findOnPath and NewSymFileRW.SymFileReader.Parse . This indicates to me that it is in the process of looking for symbol files on your path. As this is a new installation I suspect that the CPSYM environment variable requir...
by cfbsoftware
Tue Feb 22, 2022 10:13 pm
Forum: CPIde and Component Pascal
Topic: Run button behaviour?
Replies: 1
Views: 657

Re: Run button behaviour?

The Run button behaviour that you describe is ‘as designed’. There are two Run menu items, Run and Run Again . The button corresponds to the Run Again function as that is more frequently used and doesn’t require the entry of any parameters. If you switch to a new example, you need to select Run from...
by cfbsoftware
Fri Feb 04, 2022 10:34 am
Forum: Astrobe for FPGA RISC5
Topic: Register R13
Replies: 2
Views: 1061

Re: Register R13

Refer to Section 8.1 Layout and run-time organization of the Project Oberon (2013) Documentation: R13 base address for variables in the current module SB (static base) If you then look at the RISC5 compiler modification history you will see the following entry for 2018: 20180720 - Update compiler: O...
by cfbsoftware
Fri Feb 04, 2022 10:23 am
Forum: Astrobe for FPGA RISC5
Topic: SYSTEM.LDREG
Replies: 1
Views: 783

Re: SYSTEM.LDREG

That particular section of code is taken 'as is' from the Project Oberon source code. As far as I am aware LDREG is an 'undocumented feature' in the RISC5 compiler - I have only seen it mentioned without explanation in some example code. Hence, you should make no assumptions about what it should or ...
by cfbsoftware
Thu Jan 27, 2022 10:52 pm
Forum: Bug Reports
Topic: Casting a constant to a pointer using SYSTEM.VAL
Replies: 0
Views: 877

Casting a constant to a pointer using SYSTEM.VAL

The Astrobe for Cortex-M compilers generate incorrect code when attempting to cast a constant value to a pointer using SYSTEM.VAL e.g: TYPE GPIORegs = RECORD CRL: INTEGER; CRH: INTEGER; END; PGPIORegs = POINTER TO GPIORegs; VAR p: PGPIORegs; BEGIN p := SYSTEM.VAL(PGPIORegs, 04000000H); ... ... A wor...
by cfbsoftware
Wed Jan 19, 2022 5:53 am
Forum: CPIde and Component Pascal
Topic: Lola2 Compiler Source Code
Replies: 0
Views: 1148

Lola2 Compiler Source Code

The hardware description language (HDL) Lola (Logic Language) was designed by Niklaus Wirth in 1990 as an effort to present a simple and effective textual description of digital circuits. Other, similar but more complex, HDLs that you may have heard of are VHDL and Verilog . The use of the Lola2 com...
by cfbsoftware
Mon Jan 17, 2022 9:21 am
Forum: CPIde and Component Pascal
Topic: RISC5 Oberon Compiler Source Code
Replies: 0
Views: 990

RISC5 Oberon Compiler Source Code

CPIde now includes the full source code for an Oberon for FPGA RISC5 command-line compiler as example code. These are the same source code modules used for the Oberon compiler in Astrobe for FPGA RISC5 . Consequently, the source code, symbol files and code files it uses and generates are 100% compa...
by cfbsoftware
Mon Jan 17, 2022 9:21 am
Forum: Astrobe for FPGA RISC5
Topic: RISC5 Oberon Compiler Source Code
Replies: 1
Views: 990

RISC5 Oberon Compiler Source Code

CPIde now includes the full source code for an Oberon for FPGA RISC5 command-line compiler as example code. These are the same modules used for the Oberon compiler in Astrobe for FPGA RISC5 . Consequently, the source code, symbol files and code files this compiler uses and generates are 100% compat...