Questions tagged [hardware]

Programming questions related to the physical components of a computer. Please specify the model of your hardware in your question.

Computer hardware is the collection of physical elements that constitutes a computer system. Computer hardware refers to the physical parts or components of a computer such as the monitor, mouse, keyboard, computer data storage, hard drive disk (HDD), system unit (graphic cards, sound cards, memory, motherboard and chips), etc. all of which are physical objects that can be touched. Source: Wikipedia

Hardware by itself is very broad and there are many tags for specific hardware version which may be more appropriate. Eg, flash-memory, etc.

Tags related to implementing hardware,

  • - a language to create digital logic hardware.
  • - another language to create digital logic hardware.
  • - generic tag for digital logic programming languages.
  • - tag for software that simulates hardware (especially CPUS).
2966 questions
1
vote
1 answer

CatapultC reverse bit order

Does anyone know how to convert between little and big endians in CataputC? Part of the design, I am working on, needs to use litle endian and rest uses big endian. I am searching for something equivalent to "downto" "to" keywords in vhdl.
Nic30g
  • 659
  • 6
  • 15
1
vote
1 answer

How to open USB device for read/write?

I'm at the very beginning. I'm trying to connect to a motor that is connected via CAN-bus and a USB-adapter/USB-gateway-thing to my PC. I've installed drivers and stuff and device manager (DM) tells me the device is working properly. Now one step at…
Bitterblue
  • 13,162
  • 17
  • 86
  • 124
1
vote
1 answer

Is there a way to get the real viewport size in hardware-pixels without viewport meta tag?

I want to get the viewport width with javascript. But not the common virtual viewport. I need the logical hardware viewport and in my case it's not an option to set the viewport meta tag. To clearify my issue: I want to get 320 pixels on IPhone 5…
user1030151
  • 377
  • 2
  • 12
1
vote
3 answers

Is there any open hardware microcontroller?

Is there any open hardware microcontroller?. I can't find something about this. I mean microcontroller which i can buy from vendors or somewhere and i can download and see full scheme of it. And this information enough to emulate it. something like…
JustOneMan
  • 231
  • 1
  • 9
  • 34
1
vote
1 answer

How to get physical disk number by drive letter using Delphi

Sorry, I know NOTHING about this subject, so asking for your help. I found this code below on Google, to get physical disk number by drive letter, and despite it works, takes about 4 or 5 seconds to get the result. I'd like to know if there is a…
AstraInfo
  • 37
  • 5
1
vote
0 answers

Designing a Computer for Spatially-Explicit Modeling in NetLogo

I have done various searches and have yet to find a forum or article that discusses how to approach building a modeling computer for use with NetLogo. I was hoping to start such a discussion, and since the memory usage of NetLogo is proportional to…
1
vote
1 answer

Why doesn't MASM work on Mac OS X?

I am currently taking a class on Assembly Language and Computer Architecture. We're programming in MASM for x86 processors. I have a Macbook Air, so of course I have to run Windows on a virtual machine to program in MASM for our assignments. What…
1
vote
1 answer

API to list all connected devices?

I want to list all connected devices programatically.Basically,what i am trying to do is to check how many devices are connected at USB port and PS2 port.
sonu gupta
  • 473
  • 8
  • 21
1
vote
3 answers

Location of Port mapped I/O address space

I know access to ports in I/O address spaces requires specific IN/OUT instructions and they are not part of Physical memory( RAM) but I have not understood Where is the I/O address space actually located (Physically)? (some sort of RAM in )I/O…
Frank Coool
  • 91
  • 1
  • 6
1
vote
1 answer

What are the recommended BEST CASE hardware requirements for TFS 2010

i have installed TFS 2010 in a 2 server setup with an App Tier server and a SQL Server and am not 100% happy with the performance. Both are running in VM's on SAN disks and have been given the following virtual hardware each: Windows 2008 R2 1 CPU…
Doug
  • 6,460
  • 5
  • 59
  • 83
1
vote
1 answer

Value U is missing in select

Below is a few lines of code extracted from source. When I try to build the code, the "Enumerated value U is missing in select." error appears and I have no idea why. I know though, that STD_LOGIC has 9 states ('U', 'X', '0', '1', 'Z', 'W', 'L',…
Croolman
  • 1,103
  • 13
  • 40
1
vote
0 answers

Adding Xilinx AXI DMA core to block design cause Xilinx SDK error

After adding Xilinx AXI DMA IP Core to Block design (Vivado IP Integrator, Zynq), hardware specification, generated by Vivado become not processable by Xilinx SDK. AXI DMA has simple configuration, read channel only, no Scatter/Gather. Vivado 2014.1…
Mike I.
  • 91
  • 1
  • 2
  • 5
1
vote
1 answer

Why some processors have unofficial codes and/or bugs?

Lately I am writing (or trying) an emulator for the 6502 NES CPU. I am learning many many things, some of them really surprise me and I was wondering what's the explanation for those, in particular, two things came to my mind The existence of…
Juan Antonio Gomez Moriano
  • 13,103
  • 10
  • 47
  • 65
1
vote
1 answer

Windows Temperature Monitor

As part of an application for a client, I need to have a section which reports temperature information (motherboard, CPU, HDD). I know there are standalone applications such as Hardware Monitor by CPUID, but again, these are standalone and I…
A Salim
  • 1,325
  • 2
  • 11
  • 16
1
vote
3 answers

Appropriate amount of error checking in low level systems

I was interviewing with a measurement and test company for a low level role, and the interviewer asked if this code was valid: void changeValue(int *a, int size){ for(int i = 0; i < size; i++){ a[i] = i; } } But apparently this is…
Tring Vu
  • 253
  • 1
  • 10