|
|
Re: Accessing the Abstract Syntax Tree of imported files [message #1740521 is a reply to message #1740390] |
Mon, 15 August 2016 11:34 |
Paul Rosset Messages: 4 Registered: August 2016 |
Junior Member |
|
|
I want to generate the following structure
//File Fpga.mod
MemArea Fpga
{
Import FrequencyGenrator.*
//File FrequencyGenerator.mod <--- Defines the Module FrequencyGenerator as a 30 Byte Structure
Import ADConverter.*
//File ADConverter.mod <--- Defines the Module ADC Converter as a 16 Byte Structure
Version 12
Description "Configuration Memory Layout for the fpga"
Module FrequencyGenerator channel1
Module FrequencyGenerator channel2
Module ADConverter input
}
The file FrequencyGenerator.mod has the description of the FrequencyGenerator module.
In order to place the FrequencyGenerator modules in the memory of the FPGA I do need the size of it while processing Fpga.mod. CurrentIy do not have this information because i do not have the Tree for the imported files while parsing Fpga.mod.
[Updated on: Mon, 15 August 2016 12:14] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02287 seconds