Compare commits

...

3 Commits

Author SHA1 Message Date
Eyck Jentzsch a891810571 adds download link 2022-10-26 16:30:22 +02:00
Eyck Jentzsch e2714ed780 updates README 2022-10-26 16:28:02 +02:00
Eyck Jentzsch aabf062ce5 adds 1.4 version 2022-10-26 15:47:16 +02:00
19 changed files with 69 additions and 7 deletions

View File

@ -1,4 +1,4 @@
## RDL Editor
# RDL Editor
This is an editor for [SystemRDL](http://www.accellera.org/activities/working-groups/systemrdl/).
It can be installed into any Eclipse installation using the following update site url: https://minres.github.io/RDL-Editor/repository
@ -15,3 +15,34 @@ The editor is build on top of [Eclipse Xtext](http://www.eclipse.org/Xtext/), a
It has a code generator to create the register models using the [SC-Components](https://minres.github.io/SystemC-Components/) library.
Due to the nature of Xtext this generator can easily be tailored to various needs.
## How to use the standalone generator
You need to have Java 11 or newer available. The jar file can be downloaded at he [release page](https://github.com/Minres/RDL-Editor/releases).
To run the standalone generator simply call:
```
java -jar target/com.minres.rdl.standalone-1.4.0.jar -h
Usage: RDL2code [-h] [-v] [-f] [-I <RDL include dir>] [-o <output dir>] [-sc [-n <namespace>] [-sc-dir <dir modifier>]] [-fw [-fw-dir <dir modifier>]] <input file> <input file>
The following switches are supported:
-h prints help page
-v verbose output
-f force overwrite existing files
-I <RDL include dir> include directory to search included RDL files
-o <output dir> output directory of generated files
-fw generate FW include files. The following sub
switches are supported:
-fw-dir <dir modifier> set the directory modifier (relative path to output dir
-sc generate SystemC stubs. The following sub switches
are supported
-n <namespace> the namespace to use for the generated SystemC component
-sc-dir <dir modifier> set the directory modifier (relative path to output dir
```
Generating SystemC stubs becomes
```
java -jar com.minres.rdl.standalone-1.4.0.jar -o generated-src -sc -n 'sysc::myns' <RDL file>
```
The generated SystemcC sources can then be found in the (new) directory 'generated-src'.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
#Wed Oct 26 15:45:12 CEST 2022
artifact.repository.factory.order=artifacts.xml.xz,artifacts.xml,\!
version=1
metadata.repository.factory.order=content.xml.xz,content.xml,\!

Binary file not shown.

View File

@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<?compositeArtifactRepository version='1.0.0'?>
<repository name='RDL-Editor Software Repository 1.4' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1'>
<properties size='2'>
<property name='p2.timestamp' value='1666791923522'/>
<property name='p2.atomic.composite.loading' value='true'/>
</properties>
<children size='1'>
<child location='1.4.0'/>
</children>
</repository>

View File

@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
<repository name='RDL-Editor Software Repository 1.4' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1'>
<properties size='2'>
<property name='p2.timestamp' value='1666791923545'/>
<property name='p2.atomic.composite.loading' value='true'/>
</properties>
<children size='1'>
<child location='1.4.0'/>
</children>
</repository>

3
repository/1.4/p2.index Normal file
View File

@ -0,0 +1,3 @@
version=1
metadata.repository.factory.order=compositeContent.xml,\!
artifact.repository.factory.order=compositeArtifacts.xml,\!

View File

@ -1,11 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<?compositeArtifactRepository version='1.0.0'?>
<repository name='RDL-Editor Software Repository All Versions' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1'>
<repository name='RDL-Editor Software Repository All Versions' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
<properties size='2'>
<property name='p2.timestamp' value='1644784942763'/>
<property name='p2.timestamp' value='1666791923654'/>
<property name='p2.atomic.composite.loading' value='true'/>
</properties>
<children size='1'>
<children size='2'>
<child location='1.2'/>
<child location='1.4'/>
</children>
</repository>

View File

@ -1,11 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
<repository name='RDL-Editor Software Repository All Versions' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1'>
<repository name='RDL-Editor Software Repository All Versions' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
<properties size='2'>
<property name='p2.timestamp' value='1644784942764'/>
<property name='p2.timestamp' value='1666791923655'/>
<property name='p2.atomic.composite.loading' value='true'/>
</properties>
<children size='1'>
<children size='2'>
<child location='1.2'/>
<child location='1.4'/>
</children>
</repository>