Searched refs:read (Results 401 - 425 of 686) sorted by relevance

<<11121314151617181920>>

/gem5/src/systemc/tests/systemc/communication/sc_fifo/test06/
H A Dtest06.cpp92 R_INFO( "blocking read 1", iface );
94 in[iface]->read( val ); // blocking read
100 R_INFO( "blocking read 2", iface );
104 val = in[iface]->read(); // blocking read
/gem5/src/systemc/tests/systemc/compliance_1666/test001/
H A Dtest001.cpp59 void read(int& i) { wait(e); i = data; } function in struct:Chan
78 void p2() { int i; ch.read(i); sc_assert(i == 333); }
88 void read(int& i) { i = data; } function in struct:C0
104 void read(int& i) { i = data; } function in struct:C1
221 int i; p1->read(i);
226 (p4->read())->dump();
258 void action() { op = sc_min(3, (*pp).read() + 1); }
326 sc_assert(top.sig->read() == 3);
/gem5/src/systemc/tests/systemc/misc/synth/blast/blast2/
H A Dblast2.cpp76 mem[i.to_uint()] = a.read();
77 mem[j.to_uint()] = b.read();
/gem5/src/systemc/tests/systemc/misc/synth/blast/blast3/
H A Dblast3.cpp80 mem[i.to_uint()] = a.read();
81 mem[j.to_uint()] = b.read();
/gem5/src/systemc/tests/systemc/misc/unit/rtlout/test1/
H A Dtest1.cpp59 test1 = port_in.read();
62 test1 = port_in.read();
70 //cout << "read inputs" << endl;
72 //cout << "read inputs" << endl;
/gem5/src/systemc/tests/systemc/misc/user_guide/async_chn/test2/
H A Dtest2.cpp70 int j = b.read();
71 cout << "Value sent = " << i << " Value read = " << j << endl;
105 int j = b.read();
106 cout << "Value sent = " << i << " Value read = " << j << endl;
/gem5/src/dev/arm/
H A Dvio_mmio.hh56 Tick read(PacketPtr pkt) override;
97 uint32_t read(Addr offset);
/gem5/util/
H A Dprotolib.py114 c = in_file.read(1)
133 Attempt to read a message from the file and decode it. Return
134 False if no message could be read.
140 buf = in_file.read(size)
/gem5/src/dev/storage/
H A Dsimple_disk.cc64 SimpleDisk::read(Addr addr, baddr_t block, int count) const function in class:SimpleDisk
72 image->read(data + i, block + j);
76 DPRINTF(SimpleDisk, "read block=%#x len=%d\n", (uint64_t)block, count);
H A Ddisk_image.hh63 virtual std::streampos read(uint8_t *data,
92 std::streampos read(uint8_t *data, std::streampos offset) const override;
141 std::streampos read(uint8_t *data, std::streampos offset) const override;
H A Dide_ctrl.cc206 panic("Invalid PCI configuration read for size 1 at offset: %#x!\n",
209 DPRINTF(IdeCtrl, "PCI read offset: %#x size: 1 data: %#x\n", offset,
230 panic("Invalid PCI configuration read for size 2 offset: %#x!\n",
233 DPRINTF(IdeCtrl, "PCI read offset: %#x size: 2 data: %#x\n", offset,
247 DPRINTF(IdeCtrl, "PCI read offset: %#x size: 4 data: %#x\n", offset,
369 int size, uint8_t *data, bool read)
374 if (!read && offset == SelectOffset)
380 } else if (read) {
389 int size, uint8_t *data, bool read)
394 } else if (read) {
368 accessCommand(Addr offset, int size, uint8_t *data, bool read) argument
388 accessControl(Addr offset, int size, uint8_t *data, bool read) argument
402 accessBMI(Addr offset, int size, uint8_t *data, bool read) argument
488 dispatchAccess(PacketPtr pkt, bool read) argument
553 IdeController::read(PacketPtr pkt) function in class:IdeController
[all...]
/gem5/src/dev/
H A Dio_device.hh58 * access types and roles them into one read() and write() call that the device
78 pkt->isRead() ? device->read(pkt) : device->write(pkt);
98 * implement getAddrRanges(), read(), and write(). The magic do choose which
120 * when a read command is recieved by the port.
124 virtual Tick read(PacketPtr pkt) = 0;
/gem5/src/systemc/tests/include/specialized_signals/
H A Dscx_signal_int.h169 // perform a part read.
204 // read the current value
205 virtual const sc_dt::sc_int<W>& read() const = 0;
323 virtual inline const sc_dt::sc_int<W>& read() const;
628 inline const sc_dt::sc_int<W>& sc_signal<sc_dt::sc_int<W> >::read() const function in class:sc_core::sc_signal
860 { return (*this)->read()[i]; }
862 { return (*this)->read()[i]; }
864 { return (*this)->read()(left,right); }
866 { return (*this)->read()(left,right); }
883 // read th
885 const sc_dt::sc_int<W>& read() const function in class:sc_core::sc_in
1143 const sc_dt::sc_int<W>& read() const function in class:sc_core::sc_inout
[all...]
H A Dscx_signal_uint.h201 // perform a part read.
236 // read the current value
237 virtual const sc_dt::sc_uint<W>& read() const = 0;
355 virtual inline const sc_dt::sc_uint<W>& read() const;
673 inline const sc_dt::sc_uint<W>& sc_signal<sc_dt::sc_uint<W> >::read() const function in class:sc_core::sc_signal
916 { return (*this)->read()[i]; }
918 { return (*this)->read()[i]; }
920 { return (*this)->read()(left,right); }
922 { return (*this)->read()(left,right); }
939 // read th
941 const sc_dt::sc_uint<W>& read() const function in class:sc_core::sc_in
1201 const sc_dt::sc_uint<W>& read() const function in class:sc_core::sc_inout
[all...]
/gem5/src/systemc/ext/channel/
H A Dsc_fifo.hh91 read(T &t) function in class:sc_core::sc_fifo
102 read() function in class:sc_core::sc_fifo
105 read(t);
112 read(t);
118 operator T() { return read(); }
/gem5/src/systemc/tests/systemc/misc/communication/channel/hwsw/
H A Dhwsw.cpp91 a = Sa.read();
92 b = Sb.read();
93 c = Sc.read();
155 sum = Ssum.read();
156 d = Sdiff.read();
/gem5/src/arch/x86/
H A Dstacktrace.cc57 return vp.read<int32_t>(addr, GuestByteOrder);
79 tsk = vp.read<Addr>(base + task_off, GuestByteOrder);
94 pd = vp.read<uint16_t>(task + pid_off, GuestByteOrder);
167 MachInst inst = tc->getVirtProxy().read<MachInst>(pc);
178 ra = tc->getVirtProxy().read<Addr>(sp + disp);
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_signal_ifs.h64 // read the current value
65 virtual const T& read() const = 0;
114 // read the current value
115 virtual const bool& read() const = 0;
171 // read the current value
172 virtual const sc_dt::sc_logic& read() const = 0;
257 // sc_signal_out_if can also be read from, hence no difference with
/gem5/src/systemc/tests/systemc/misc/v1.0/resolved_sig/
H A Dresolved_sig.cpp129 tmp_a = in1.read();
130 tmp_b = in2.read();
132 cout << "; reading from bus=" << bus.read() << endl;
168 // cout << in1.read() << " + " << in2.read()
169 // << " = " << result.read() << endl;
/gem5/src/arch/arm/
H A Dstacktrace.cc57 return vp.read<int32_t>(addr, GuestByteOrder);
79 tsk = vp.read<Addr>(base + task_off, GuestByteOrder);
94 pd = vp.read<uint16_t>(task + pid_off, GuestByteOrder);
/gem5/src/kern/linux/
H A Dhelpers.cc112 proxy.read<uint32_t>(addr_lb_len, TheISA::GuestByteOrder);
114 proxy.read<uint32_t>(addr_first, TheISA::GuestByteOrder);
116 proxy.read<uint32_t>(addr_next, TheISA::GuestByteOrder);
123 // Normalize and read the dmesg ring buffer
/gem5/src/dev/virtio/
H A Dblock.cc71 VirtIOBlock::read(const BlkRequest &req, VirtDescriptor *desc_chain, function in class:VirtIOBlock
84 if (image.read(&data[offset], sector) != SectorSize) {
85 warn("Failed to read sector %i\n", sector);
144 status = parent.read(req, desc, sizeof(BlkRequest), data_size);
/gem5/ext/ply/example/BASIC/
H A Dbasic.py18 data = open(sys.argv[1]).read()
/gem5/src/dev/alpha/
H A Dbackdoor.hh56 * access the boot disk, to read/write from the console, and to pass
115 Tick read(PacketPtr pkt) override;
H A Dtsunami_io.hh126 Tick read(PacketPtr pkt) override;

Completed in 36 milliseconds

<<11121314151617181920>>