Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 32) sorted by relevance

12

/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/buses/
Dwishbone.cpp60 void Wishbone::write(int width, uint64_t addr, uint64_t value) in write() argument
62 if(width < granularity ) { in write()
64 sprintf(msg, msg, width); in write()
68 *wb_sel = (uint8_t)((1 << width) - 1); in write()
85 uint64_t Wishbone::read(int width, uint64_t addr) in read() argument
87 if(width < granularity) { in read()
89 sprintf(msg, msg, width); in read()
93 *wb_sel = (uint8_t)((1 << width) - 1); in read()
Dapb3.cpp38 void APB3::write(int width, uint64_t addr, uint64_t value) in write() argument
40 if(width != 4) { in write()
42 sprintf(msg, msg, width); in write()
65 uint64_t APB3::read(int width, uint64_t addr) in read() argument
67 if(width != 4) { in read()
69 sprintf(msg, msg, width); in read()
Dapb3.h14 virtual void write(int width, uint64_t addr, uint64_t value);
15 virtual uint64_t read(int width, uint64_t addr);
Daxilite.cpp54 void AxiLite::write(int width, uint64_t addr, uint64_t value) in write() argument
56 setSignal<uint8_t>(wstrb, (1 << width) - 1); in write()
72 uint64_t AxiLite::read(int width, uint64_t addr) in read() argument
Dwishbone.h34 virtual void write(int width, uint64_t addr, uint64_t value);
35 virtual uint64_t read(int width, uint64_t addr);
Daxi.cpp53 void Axi::write(int width, uint64_t addr, uint64_t value) in write() argument
72 *wstrb = (1 << width) - 1; // TODO: Byte selects in write()
89 uint64_t Axi::read(int width, uint64_t addr) in read() argument
Dbus.h43 virtual void write(int width, uint64_t addr, uint64_t value) = 0;
44 virtual uint64_t read(int width, uint64_t addr) = 0;
Daxilite.h15 virtual void write(int width, uint64_t addr, uint64_t value);
16 virtual uint64_t read(int width, uint64_t addr);
Daxi.h85 virtual void write(int width, uint64_t addr, uint64_t value);
86 virtual uint64_t read(int width, uint64_t addr);
/Renode-v1.15.3-c57714d/src/Renode/Integrations/
DAsciinemaRecorder.cs26 …(this IUART uart, string filePath, bool useVirtualTimeStamps = false, int width = 80, int height =… in RecordToAsciinema() argument
57 …var recorder = new AsciinemaRecorder(filePath, machine, name, useVirtualTimeStamps, width, height); in RecordToAsciinema()
66 …r(string filePath, IMachine machine, string name, bool useVirtualTimeStamps, int width, int height) in AsciinemaRecorder() argument
73 this.width = width; in AsciinemaRecorder()
82 writer.WriteLine(String.Format(Header, width, height, name)); in AttachTo()
165 private readonly int width; field in Antmicro.Renode.Integrations.AsciinemaRecorder
/Renode-v1.15.3-c57714d/tools/PeakRDL-renode/src/peakrdl_renode/
Dmemory.py49 case width if width == 1: return ast.Type.bool
50 case width if width in range(2, 9): return ast.Type.byte
51 case width if width in range(9, 17): return ast.Type.ushort
52 case width if width in range(17, 33): return ast.Type.uint
53 case width if width in range(33, 65): return ast.Type.ulong
79 width = field.high - field.low + 1
80 bytes_to_access = (width + 7) // 8
90 return ((((1 << (width)) - 1) << shift) >> (byte_idx * 8)) & 0xff
163 lhs = get_field_value_masked((1 << width) - 1),
168 lhs = get_field_value_masked((1 << width) - 1),
Dscanner.py93 width = node.high - node.low + 1
94 fullreset = (1 << width) - 1;
/Renode-v1.15.3-c57714d/tools/PeakRDL-renode/src/peakrdl_renode/csharp/
Doperators.py67 if lhs.type.width is None: raise RuntimeError('Invalid operand for bitshift')
68 ty_ = lhs.type if lhs.type.width >= 32 else Type.int
73 if lhs.type.width is None: raise RuntimeError('Invalid operand for bitshift')
74 ty_ = lhs.type if lhs.type.width >= 32 else Type.int
79 if lhs.type.width is None: raise RuntimeError('Invalid operand for bitshift')
80 ty_ = lhs.type if lhs.type.width >= 32 else Type.int
Dop_null.py46 elif lit.value == (1 << expr.type.width) - 1:
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/peripherals/
Duart.cpp68 void UART::writeToBus(int width, uint64_t addr, uint64_t value) { in writeToBus() argument
69 RenodeAgent::writeToBus(width, addr, value); in writeToBus()
Duart.h30 void writeToBus(int width, uint64_t addr, uint64_t value) override;
/Renode-v1.15.3-c57714d/tools/PeakRDL-renode/
DREADME.md117 Fields which width is equal to one are represented by a type that implements `IFlagRegisterField`
198 The types of the properties are assigned depending on the field width:
199 * `width == 1` => `bool`
200 * `1 < width <= 8` => `byte`
201 * `8 < width <= 16` => `ushort`
202 * `16 < width <= 32` => `uint`
203 * `32 < width <= 64` => `ulong`
/Renode-v1.15.3-c57714d/platforms/cpus/silabs/efr32s2/
Defr32mg26.repl181 width: TimerWidth.Bit16
189 width: TimerWidth.Bit16
197 width: TimerWidth.Bit16
205 width: TimerWidth.Bit16
213 width: TimerWidth.Bit16
221 width: TimerWidth.Bit16
229 width: TimerWidth.Bit16
237 width: TimerWidth.Bit16
246 width: TimerWidth.Bit16
254 width: TimerWidth.Bit16
[all …]
Defr32xg22.repl110 width: 16
119 width: 16
128 width: 16
137 width: 16
146 width: 16
154 width: TimerWidth.Bit32
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/src/
Drenode_bus.h38 virtual void writeToBus(int width, uint64_t addr, uint64_t value);
39 virtual void readFromBus(int width, uint64_t addr);
Drenode_bus.cpp40 void RenodeAgent::writeToBus(int width, uint64_t addr, uint64_t value) in writeToBus() argument
43 targetInterfaces[0]->write(width, addr, value); in writeToBus()
52 void RenodeAgent::readFromBus(int width, uint64_t addr) in readFromBus() argument
55 uint64_t readValue = targetInterfaces[0]->read(width, addr); in readFromBus()
/Renode-v1.15.3-c57714d/platforms/cpus/silabs/efr32/
Defr32mg13.repl28 width: TimerWidth.Bit32
Defr32mg1.repl63 width: TimerWidth.Bit16
68 width: TimerWidth.Bit16
Defr32mg12.repl52 width: TimerWidth.Bit32
57 width: TimerWidth.Bit32
/Renode-v1.15.3-c57714d/tools/PeakRDL-renode/tests/
DSystemRDLGenTest.cs264 var width = this.RegisterField.GetField("width").GetValue(fieldInst); in TestDynamicMeta()
267 Assert.AreEqual(field.High - field.Low + 1, width); in TestDynamicMeta()
289 static private IEnumerable<ulong> TestPattern(uint width = sizeof(ulong) * 8) in TestPattern() argument
292 for(int i = 0; i < width; ++i) in TestPattern()
298 static private IEnumerable<ulong> TestPatternMask(uint width = sizeof(ulong) * 8) in TestPatternMask() argument
301 for(int i = 0; i < width; i += 2) in TestPatternMask()

12