phillipstanleymarbell / Noisy-lang-compiler

Noisy language compiler
MIT License
17 stars 1 forks source link

New backend to generate Ipsa bitstream from Newton description #489

Open lvrgustafsson opened 4 years ago

lvrgustafsson commented 4 years ago

Is your feature request related to a problem? A clear and concise description of what the problem is. E.g., "I'm always frustrated when [...]"

Describe the solution you'd like A clear and concise description of what you would like to happen instead of what currently happens.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

lvrgustafsson commented 4 years ago

The current command line syntax for selecting a particular kernel and pi number from which to construct relatedSignalLists is for example as follows when wanting to use pi 4 from kernel 6: --kernelNumber 6 --piNumber 4. It is also possible to only specify a kernel number, in which case all pi numbers from that kernel are used in construction relatedSignalLists.

The current command line syntax for specifying the physicalGroupNumber of a sensor is as follows: --physicalGroup 1 sensorIdentifier1,sensorIdentifier2 --physicalGroup2 sensorIdentifier3,sensorIdentifier4,sensorIdentifier5. The sensor identifiers must be separated by only a comma. Currently there is only support for associating sensors with physical group numbers 1 and 2. This is because the current relevant application of this is assigning sensors to Ipsa I2C buses 1 or 2.

lvrgustafsson commented 4 years ago

Please see the various issues with the Ipsa Backend label for descriptions to possible future work to complete this backend. In the first instance, for a first version of this backend to be considered complete, functionality is needed to support associating a sensor with a particular Signal, and adapting the Ipsa backend to take into account this functionality.

lvrgustafsson commented 4 years ago

For an example of a Newton description which currently works with the Ipsa backend, please see /applications/newton/temporary-examples/IpsaDualTemperatureMeasurementExample.nt