mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-23 04:11:54 -04:00
adds a xml alias
This commit is contained in:
parent
36e0b5fea3
commit
5fc231cb1a
@ -3,6 +3,8 @@ Release Notes
|
||||
HEAD, planned as v0.27
|
||||
|
||||
- Added fixed point and floating point number formats
|
||||
- Refactoring of the expression format setting.
|
||||
CAUTION: All the general settings are maybe lost at restart!
|
||||
|
||||
v0.26, released on 25. Jan. 2021
|
||||
- Performance improvement of the simulation start.
|
||||
|
@ -8,6 +8,7 @@ package de.neemann.digital.draw.elements;
|
||||
import com.thoughtworks.xstream.XStream;
|
||||
import com.thoughtworks.xstream.io.xml.PrettyPrintWriter;
|
||||
import de.neemann.digital.XStreamValid;
|
||||
import de.neemann.digital.analyse.expression.format.FormatToExpression;
|
||||
import de.neemann.digital.core.Observer;
|
||||
import de.neemann.digital.core.*;
|
||||
import de.neemann.digital.core.arithmetic.BarrelShifterMode;
|
||||
@ -70,6 +71,7 @@ public class Circuit implements Copyable<Circuit> {
|
||||
xStream.alias("wire", Wire.class);
|
||||
xStream.alias("circuit", Circuit.class);
|
||||
xStream.alias("intFormat", IntFormat.class);
|
||||
xStream.alias("exprFormat", FormatToExpression.class);
|
||||
xStream.alias("barrelShifterMode", BarrelShifterMode.class);
|
||||
xStream.alias("direction", LeftRightFormat.class);
|
||||
xStream.alias("rotation", Rotation.class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user