Searched refs:width (Results 1 - 25 of 108) sorted by relevance

12345

/gem5/src/base/
H A Dcondcodes.hh43 findCarry(int width, uint64_t dest, uint64_t src1, uint64_t src2) { argument
44 int shift = width - 1;
55 findOverflow(int width, uint64_t dest, uint64_t src1, uint64_t src2) { argument
56 int shift = width - 1;
65 findParity(int width, uint64_t dest) { argument
66 dest &= mask(width);
81 findNegative(int width, uint64_t dest) { argument
82 return bits(dest, width - 1, width - 1);
90 findZero(int width, uint64_ argument
[all...]
H A Dframebuffer.cc48 FrameBuffer::FrameBuffer(unsigned width, unsigned height) argument
49 : pixels(width * height),
50 _width(width), _height(height)
82 FrameBuffer::resize(unsigned width, unsigned height) argument
84 _width = width;
87 pixels.resize(width * height);
H A Dcprintf_formats.hh52 int width; member in struct:cp::Format
70 width = 0;
114 fmt.width -= 2;
118 fmt.width -= 1;
129 if (fmt.width > 0)
130 out.width(fmt.width);
160 if (fmt.width > 0)
161 out.width(fmt.width);
[all...]
H A Dpngwriter.cc119 unsigned width = fb.width(); local
152 png_set_IHDR(pngPtr, infoPtr, width, height, 8,
161 std::vector<PixelType> rowPacked(width);
163 for (unsigned x=0; x < width; ++x) {
H A Dbmpwriter.cc74 fb.width(),
101 std::vector<PixelType> line_buffer(fb.width());
103 for (unsigned x = 0; x < fb.width(); ++x)
H A Dframebuffer.hh73 * @param width Width in pixels
76 FrameBuffer(unsigned width, unsigned height);
95 void resize(unsigned width, unsigned height);
97 /** Frame buffer width in pixels */
98 unsigned width() const { return _width; } function in class:FrameBuffer
117 * of the same width and height as this frame buffer.
125 * of the same width and height as this frame buffer.
136 * of the same width and height as this frame buffer.
144 * of the same width and height as this frame buffer.
H A Dcprintf.cc50 saved_width = stream.width();
59 saved_width = stream.width();
211 fmt.width = number;
256 fmt.width = number;
264 // specified a . but not a float, set width
265 fmt.width = fmt.precision;
266 // precision requries digits for width, must fill with 0
271 fmt.precision = fmt.width;
315 stream.width(saved_width);
/gem5/src/systemc/
H A DTlm.py30 def TLM_TARGET_ROLE(width):
31 return 'TLM TARGET %d' % width
33 def TLM_INITIATOR_ROLE(width):
34 return 'TLM INITIATOR %d' % width
37 def __init__(self, width, desc):
38 my_role = TLM_TARGET_ROLE(width)
39 peer_role = TLM_INITIATOR_ROLE(width)
45 def __init__(self, width, desc):
46 my_role = TLM_TARGET_ROLE(width)
47 peer_role = TLM_INITIATOR_ROLE(width)
[all...]
/gem5/ext/drampower/src/
H A DMemArchitectureSpec.cc51 width(0),
69 width = getParamValWithDefault("width", 1);
70 assert("memory width should be a multiple of 8" && (width % 8) == 0);
H A DMemArchitectureSpec.h57 int64_t width; member in class:Data::MemArchitectureSpec
/gem5/src/kern/linux/
H A Dprintk.cc58 int width = 0; local
72 if (width)
73 width *= 10;
79 width = 10 * width + *p - '0';
133 width -= 2;
136 width -= 1;
144 if (width > 0)
145 out.width(width);
[all...]
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt10.1/
H A Dmain.cpp46 int width = 4; local
63 co, done, width);
65 ready, width);
/gem5/src/systemc/utils/
H A Dsc_trace_file.cc286 const std::string &name, int width)
288 static_cast<::sc_gem5::TraceFile *>(tf)->addTraceVal(&v, name, width);
293 const std::string &name, int width)
295 static_cast<::sc_gem5::TraceFile *>(tf)->addTraceVal(v, name, width);
300 const std::string &name, int width)
302 static_cast<::sc_gem5::TraceFile *>(tf)->addTraceVal(&v, name, width);
307 const std::string &name, int width)
309 static_cast<::sc_gem5::TraceFile *>(tf)->addTraceVal(v, name, width);
314 const std::string &name, int width)
316 static_cast<::sc_gem5::TraceFile *>(tf)->addTraceVal(&v, name, width);
285 sc_trace(sc_trace_file *tf, const unsigned char &v, const std::string &name, int width) argument
292 sc_trace(sc_trace_file *tf, const unsigned char *v, const std::string &name, int width) argument
299 sc_trace(sc_trace_file *tf, const unsigned short &v, const std::string &name, int width) argument
306 sc_trace(sc_trace_file *tf, const unsigned short *v, const std::string &name, int width) argument
313 sc_trace(sc_trace_file *tf, const unsigned int &v, const std::string &name, int width) argument
320 sc_trace(sc_trace_file *tf, const unsigned int *v, const std::string &name, int width) argument
327 sc_trace(sc_trace_file *tf, const unsigned long &v, const std::string &name, int width) argument
334 sc_trace(sc_trace_file *tf, const unsigned long *v, const std::string &name, int width) argument
341 sc_trace(sc_trace_file *tf, const char &v, const std::string &name, int width) argument
347 sc_trace(sc_trace_file *tf, const char *v, const std::string &name, int width) argument
353 sc_trace(sc_trace_file *tf, const short &v, const std::string &name, int width) argument
360 sc_trace(sc_trace_file *tf, const short *v, const std::string &name, int width) argument
367 sc_trace(sc_trace_file *tf, const int &v, const std::string &name, int width) argument
373 sc_trace(sc_trace_file *tf, const int *v, const std::string &name, int width) argument
379 sc_trace(sc_trace_file *tf, const long &v, const std::string &name, int width) argument
385 sc_trace(sc_trace_file *tf, const long *v, const std::string &name, int width) argument
391 sc_trace(sc_trace_file *tf, const sc_dt::int64 &v, const std::string &name, int width) argument
398 sc_trace(sc_trace_file *tf, const sc_dt::int64 *v, const std::string &name, int width) argument
405 sc_trace(sc_trace_file *tf, const sc_dt::uint64 &v, const std::string &name, int width) argument
412 sc_trace(sc_trace_file *tf, const sc_dt::uint64 *v, const std::string &name, int width) argument
419 sc_trace(sc_trace_file *tf, const sc_signal_in_if<char> &v, const std::string &name, int width) argument
427 sc_trace(sc_trace_file *tf, const sc_signal_in_if<short> &v, const std::string &name, int width) argument
435 sc_trace(sc_trace_file *tf, const sc_signal_in_if<int> &v, const std::string &name, int width) argument
443 sc_trace(sc_trace_file *tf, const sc_signal_in_if<long> &v, const std::string &name, int width) argument
[all...]
H A Dvcd.hh85 int width=1)
87 VcdTraceValBase *tv = new TV(v, nextSignalName(), width);
125 const std::string &name, int width) override;
127 int width) override;
129 const std::string &name, int width) override;
131 int width) override;
133 const std::string &name, int width) override;
135 int width) override;
137 const std::string &name, int width) override;
139 int width) overrid
84 addNewTraceVal(const typename TV::TracedType *v, const std::string &name, int width=1) argument
[all...]
H A Dvcd.cc119 switch (width()) {
133 VcdTraceValBase(int width) : TraceValBase(width) {} argument
167 int w = value->width();
198 VcdTraceVal(const T* t, const std::string &vcd_name, int width) : argument
199 TraceVal<T, VcdTraceValBase>(t, width)
408 const int w = this->width();
512 const int w = this->width();
602 const int w = this->width();
623 int width)
622 addTraceVal(const unsigned char *v, const std::string &name, int width) argument
628 addTraceVal(const char *v, const std::string &name, int width) argument
633 addTraceVal(const unsigned short *v, const std::string &name, int width) argument
639 addTraceVal(const short *v, const std::string &name, int width) argument
644 addTraceVal(const unsigned int *v, const std::string &name, int width) argument
650 addTraceVal(const int *v, const std::string &name, int width) argument
655 addTraceVal(const unsigned long *v, const std::string &name, int width) argument
661 addTraceVal(const long *v, const std::string &name, int width) argument
667 addTraceVal(const sc_dt::int64 *v, const std::string &name, int width) argument
673 addTraceVal(const sc_dt::uint64 *v, const std::string &name, int width) argument
[all...]
H A Dtracefile.hh57 int width() { return _width; } function in class:sc_gem5::TraceValBase
249 const std::string &name, int width) = 0;
251 int width) = 0;
253 const std::string &name, int width) = 0;
255 int width) = 0;
257 const std::string &name, int width) = 0;
259 int width) = 0;
261 const std::string &name, int width) = 0;
263 int width) = 0;
266 const std::string &name, int width)
[all...]
/gem5/src/base/vnc/
H A Dvncinput.cc60 _videoWidth(fb->width()), _videoHeight(fb->height()),
97 const unsigned width(fb->width());
100 if (_videoWidth != width || _videoHeight != height) {
101 DPRINTF(VNC, "Updating video params: width: %d height: %d\n",
102 width, height);
104 _videoWidth = width;
/gem5/src/systemc/ext/utils/
H A Dsc_trace_file.hh129 const std::string &, int width=(8 * sizeof(unsigned char)));
131 const std::string &, int width=(8 * sizeof(unsigned char)));
133 const std::string &, int width=(8 * sizeof(unsigned short)));
135 const std::string &, int width=(8 * sizeof(unsigned short)));
137 const std::string &, int width=(8 * sizeof(unsigned int)));
139 const std::string &, int width=(8 * sizeof(unsigned int)));
141 const std::string &, int width=(8 * sizeof(unsigned long)));
143 const std::string &, int width=(8 * sizeof(unsigned long)));
146 const std::string &, int width=(8 * sizeof(char)));
148 const std::string &, int width
[all...]
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_trace.cpp92 int width )
95 tf->trace( object.read(), name, width );
103 int width )
106 tf->trace( object.read(), name, width );
114 int width )
117 tf->trace( object.read(), name, width );
125 int width )
128 tf->trace( object.read(), name, width );
H A Dsc_vcd_trace.h101 // Trace an unsigned char with the given width
103 int width);
105 // Trace an unsigned short with the given width
107 int width);
109 // Trace an unsigned int with the given width
111 int width);
113 // Trace an unsigned long with the given width
115 int width);
117 // Trace a signed char with the given width
118 void trace(const char& object, const std::string& name, int width);
[all...]
H A Dsc_wif_trace.h96 // Trace an unsigned char with the given width
98 int width);
100 // Trace an unsigned short with the given width
102 int width);
104 // Trace an unsigned int with the given width
106 int width);
108 // Trace an unsigned long with the given width
110 int width);
112 // Trace a signed char with the given width
113 void trace(const char& object, const std::string& name, int width);
[all...]
/gem5/system/alpha/console/
H A Dprintf.c60 * prints value in radix, in a field width width, with fill
63 * if width is negative, left justify
64 * if width is 0, use whatever is needed
68 PutNumber(long value, int radix, int width, char fill) argument
80 if (width < 0) {
81 width = -width;
85 if (width < 0 || width > 8
[all...]
/gem5/src/mem/
H A DXBar.py75 width = Param.Unsigned("Datapath width per port (bytes)") variable in class:BaseXBar
139 width = 32 variable in class:L2XBar
163 width = 16 variable in class:SystemXBar
192 width = 16 variable in class:IOXBar
/gem5/src/systemc/tests/systemc/kernel/process_control/test06/
H A Dtest06.cpp21 void proc_tree( unsigned depth, unsigned width, bool as_method, bool spawn_only ) argument
23 unsigned w = width;
32 sc_spawn( sc_bind( &top::proc_tree, this, depth-1, width, !as_method, false )
38 sc_spawn( sc_bind( &top::proc_tree, this, depth-1, width, !as_method, false )
/gem5/src/arch/hsail/insts/
H A Dbranch.hh56 Brig::BrigWidth8_t width; member in class:HsailISA::BrnInstBase
64 width = ((Brig::BrigInstBr*)ib)->width;
118 if (width != 1) {
119 widthClause = csprintf("_width(%d)", width);
171 Brig::BrigWidth8_t width; member in class:HsailISA::CbrInstBase
179 width = ((Brig::BrigInstBr *)ib)->width;
250 if (width != 1) {
251 widthClause = csprintf("_width(%d)", width);
340 ImmOperand<uint32_t> width; member in class:HsailISA::BrInstBase
[all...]

Completed in 31 milliseconds

12345