Home
last modified time | relevance | path

Searched refs:peripheral (Results 1 – 25 of 37) sorted by relevance

12

/Renode-v1.15.3-c57714d/tools/PeakRDL-renode/tests/
DSystemRDLMem1PeripheralTest.cs77 peripheral = new Peripherals.Mocks.Mem1Peripheral(); in Setup()
83 Assert.AreEqual(16, peripheral.Mem1.Size); in TestSize()
89 var _ = peripheral.Mem1[mem1ElementCount - 1]; in TestBounds()
92 _ = peripheral.Mem1[mem1ElementCount]; in TestBounds()
104 for(long i = 0; i < peripheral.Mem1.Size / 4; ++i) in TestRead()
106 (peripheral as IDoubleWordPeripheral) in TestRead()
110 for(long i = 0; i < peripheral.Mem1.Size / mem1ElementCount; ++i) in TestRead()
112 Assert.AreEqual(testCase.FLAG1, peripheral.Mem1[i].FLAG1); in TestRead()
113 Assert.AreEqual(testCase.FLAG2, peripheral.Mem1[i].FLAG2); in TestRead()
114 Assert.AreEqual(testCase.VALUE1, peripheral.Mem1[i].VALUE1); in TestRead()
[all …]
DSystemRDLGenTest.cs197 peripheral = (IDoubleWordPeripheral)Activator.CreateInstance(pType); in InitPeripheral()
198 Assert.IsNotNull(peripheral); in InitPeripheral()
251 … var regInst = pType.GetField(register.InstanceName, getPrivateFlags).GetValue(peripheral); in TestDynamicMeta()
316 var read = peripheral.ReadDoubleWord((long)offset); in TestFieldModeRead()
318 …read = peripheral.ReadDoubleWord((long)offset); // Another check to ensure that the value was not … in TestFieldModeRead()
326 var read = peripheral.ReadDoubleWord((long)offset); in TestFieldModeRead()
328 read = peripheral.ReadDoubleWord((long)offset); in TestFieldModeRead()
332 read = peripheral.ReadDoubleWord((long)offset); in TestFieldModeRead()
334 read = peripheral.ReadDoubleWord((long)offset); in TestFieldModeRead()
341 peripheral.ReadDoubleWord((long)offset); in TestFieldModeReadToClear()
[all …]
/Renode-v1.15.3-c57714d/src/Renode/Connectors/
DGPIOConnector.cs33 public void AttachTo(IPeripheral peripheral) in AttachTo() argument
39 peripherals.Add(peripheral); in AttachTo()
87 public void DetachFrom(IPeripheral peripheral) in DetachFrom() argument
89 … if(connectorPin.IsConnected && connectorPin.Endpoints.Any(x => x.Receiver == peripheral)) in DetachFrom()
91 … connectorPin.Disconnect(connectorPin.Endpoints.First(x => x.Receiver == peripheral)); in DetachFrom()
101 peripherals.Remove(peripheral); in DetachFrom()
116 private void VerifyPeripheralOrThrow(IPeripheral peripheral) in VerifyPeripheralOrThrow() argument
118 var attachedPeripheral = peripherals.FirstOrDefault(p => p == peripheral); in VerifyPeripheralOrThrow()
121 …overableException("Peripheral {0} is not connected to the GPIO Connector.".FormatWith(peripheral)); in VerifyPeripheralOrThrow()
/Renode-v1.15.3-c57714d/scripts/multi-node/
Dnrf52840-ble-zephyr.resc3 # This script runs Zephyr BLE HR demo on nRF52840. It creates 2 machines: `central` and `peripheral
6 # `peripheral` works as such a monitor and generates dummy heart-rate values.
7 # Having established the connection, `central` will report heart-rate readings from `peripheral``.
9 # The `using` command allows the user to omit a prefix when referring to a peripheral.
13 … declare binary files for Zephyr BLE devices. One for central device and one for peripheral device.
32 # Create a machine named "peripheral" based on the nRF52840 platform and set it as active.
33 mach create "peripheral"
37 # Create a UART analyzer for the "peripheral" machine.
50 mach set "peripheral"
Dnrf52840-ble-hci-uart-zephyr.resc25 # Create peripheral machines
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/Connection/
DCoSimulationConnection.cs80 public void AttachTo(ICoSimulationConnectible peripheral) in AttachTo() argument
82 if(cosimIdxToPeripheral.ContainsKey(peripheral.CosimToRenodeIndex)) in AttachTo()
86 cosimIdxToPeripheral.Add(peripheral.CosimToRenodeIndex, peripheral); in AttachTo()
87 peripheral.OnConnectionAttached(this); in AttachTo()
90 public void DetachFrom(ICoSimulationConnectible peripheral) in DetachFrom() argument
92 peripheral.OnConnectionDetached(this); in DetachFrom()
93 cosimIdxToPeripheral.Remove(peripheral.CosimToRenodeIndex); in DetachFrom()
371 ICoSimulationConnectible peripheral = null; in HandleReceivedMessage()
372 …ge.NoPeripheralIndex && !cosimIdxToPeripheral.TryGetValue(message.PeripheralIndex, out peripheral)) in HandleReceivedMessage()
390 var busPeripheral = peripheral as IBusPeripheral; in HandleReceivedMessage()
/Renode-v1.15.3-c57714d/tests/unit-tests/RenodeTests/PlatformDescription/
DMergeAndCreationTests.cs36 ICPU peripheral; in ShouldUpdateRegistrationPoint()
37 Assert.IsTrue(machine.TryGetByName("sysbus.register2.cpu", out peripheral)); in ShouldUpdateRegistrationPoint()
38 Assert.IsFalse(machine.TryGetByName("sysbus.register1.cpu", out peripheral)); in ShouldUpdateRegistrationPoint()
50 ICPU peripheral; in ShouldCancelRegistration()
51 Assert.IsFalse(machine.TryGetByName("sysbus.register.cpu", out peripheral)); in ShouldCancelRegistration()
63 ICPU peripheral; in ShouldHandleRegistrationInReverseOrder()
64 Assert.IsTrue(machine.TryGetByName("sysbus.register.cpu", out peripheral)); in ShouldHandleRegistrationInReverseOrder()
74 ICPU peripheral; in ShouldHandleAlias()
75 Assert.IsTrue(machine.TryGetByName("sysbus.otherName", out peripheral)); in ShouldHandleAlias()
76 Assert.IsFalse(machine.TryGetByName("sysbus.cpu", out peripheral)); in ShouldHandleAlias()
[all …]
/Renode-v1.15.3-c57714d/src/Plugins/CoSimulationPlugin/IntegrationLibrary/
Dintegration-library.cmake1 # To build a cosimulated peripheral, see https://github.com/antmicro/renode-verilator-integration
Dverilator-integration-library.cmake1 # To build a cosimulated peripheral, see https://github.com/antmicro/renode-verilator-integration
/Renode-v1.15.3-c57714d/tests/unit-tests/
Dlog-tests.robot18 Wait For Log Entry ReadDoubleWord from non existing peripheral at 0x0
25 Wait For Log Entry WriteDoubleWord to non existing peripheral at 0x0, value 0x147
36 Wait For Log Entry [cpu: 0x1000] ReadDoubleWord from non existing peripheral at 0x0
47 … [cpu: 0x1000] (tag: 'tagged_region') ReadDoubleWord from non existing peripheral at 0x4, returnin…
58 …Wait For Log Entry [cpu: 0x1000] WriteDoubleWord to non existing peripheral at 0x0, value 0…
69 … [cpu: 0x1000] (tag: 'tagged_region') WriteDoubleWord to non existing peripheral at 0x4, value 0x0
Dbus-performance.robot44 Wait For Log Entry ReadDoubleWord from non existing peripheral at 0xFFFFFFC
Dper-core-registration.robot67 …# Adding a CPU-specific peripheral over a global one is OK, accesses from that CPU will reach it i…
70 …# Adding another CPU-specific peripheral at address space already occupied for the given CPU shoul…
203 Wait For Log Entry Tried to access bytes at non-existing peripheral
209 Should Not Be In Log Tried to access bytes at non-existing peripheral
Dbus-isolation.robot63 … ↓ raw initiator state which gets passed to the peripheral
96 … Wait For Log Entry sysbus: ReadDoubleWord from non existing peripheral at 0x10010
/Renode-v1.15.3-c57714d/tests/peripherals/
DMC3635.robot21 [Arguments] ${peripheral}
25 Execute Command ${peripheral} FeedAccelerationSample 0.0 0.0 0.0 5
32 Execute Command ${peripheral} FeedAccelerationSample ${x} ${y} ${z}
104 …# Run until the peripheral is set to `continuous sampling` but the configuration is not yet comple…
DPL330_DMA.robot9 # This DT is modified for peripheral transfer tests - it inserts STM USART that is not normally ava…
10 …the DMA Controller, using `dmas` property of the USART's node, to test peripheral to memory DMA tr…
43 # This is needed for peripheral transfer tests - it occupies unused address
/Renode-v1.15.3-c57714d/scripts/complex/hci_uart/
Dhci_uart.resc11 # heart rate peripheral sample
/Renode-v1.15.3-c57714d/tests/platforms/verilated/
DUARTLite.robot92 …Run Keyword And Expect Error *Error starting cosimulated peripheral!* Execute Script ${UART…
124 …Run Keyword And Expect Error *Connection to the cosimulated peripheral failed!* Create Machi…
133 …Run Keyword And Expect Error *Connection to the cosimulated peripheral failed!* Create Machi…
148 …Run Keyword And Expect Error *Error starting cosimulated peripheral!* Create Machine With So…
/Renode-v1.15.3-c57714d/scripts/complex/fomu/
DREADME.rst13 (1) Renode runs the emulation of LiteX+VexRiscv with an additional "led" peripheral of EtherBoneBri…
15 (3) The actual LED peripheral is located on the FOMU board.
/Renode-v1.15.3-c57714d/scripts/single-node/
Dvegaboard_ri5cy.resc84 # have this peripheral yet, it would generate a lot of
86 # peripheral is merged
Dquark_c1000.resc5 # The `using` command allows the user to omit a prefix when referring to a peripheral.
/Renode-v1.15.3-c57714d/tools/PeakRDL-renode/
DREADME.md34 * `-n/--name ` - name of the peripheral class to be exported
53 that serves as a starting point for writing your peripheral model. Do not edit the generated file.
170 This structure is instantiated within the peripheral as a member named after the memory instance:
209 All of the peripheral's registers and memories are assumed to be described by the SystemRDL code.
/Renode-v1.15.3-c57714d/platforms/cpus/
Dnuvoton_npcx9.repl119 // of the System Configuration peripheral.
191 // DEV_CTL4 register from the System Configuration peripheral
218 // SWRST_CTL4 register from the System Configuration peripheral
Dut32m0r500.repl88 Tag <0xE0000000 0x1000> "Private peripheral bus addresses in the Cortex-M0+"
/Renode-v1.15.3-c57714d/scripts/multi-node/quark-c1000-zephyr/
Dquark_c1000.resc5 # The `using` command allows the user to omit a prefix when referring to a peripheral.
/Renode-v1.15.3-c57714d/
DCHANGELOG.rst76 Added peripheral models:
120 Added peripheral models:
184 * CPU-specific peripheral registrations have now higher priority than the global ones
200 * possible hang when disabling logging of peripheral accesses
206 * LSM303 peripheral test
234 * NPCX ITIM, including both 32 and 64-bit flavors of the peripheral
288 Added peripheral models:
328 * tests for GDB accessing peripheral space
406 * handling peripheral accesses when debugging with GDB
500 Added peripheral models:
[all …]

12