VHDL Examples: Muxes, Decoders, Comparators
VHDL Code for a 2-to-1 Mux
LIBRARY ieee; USE ieee.std_logic_1164.all; ENTITY mux2to1 IS PORT ( w0, w1, s : IN STD_LOGIC; f : OUT STD_LOGIC ); END mux2to1; ARCHITECTURE Behavior OF mux2to1 IS BEGIN WITH s SELECT f <= w0 WHEN '0', w1 WHEN OTHERS; END Behavior;
VHDL Using Conditional Signal Assignments
LIBRARY ieee; USE ieee.std_logic_1164.all; ENTITY mux2to1 IS PORT ( w0, w1, s : IN STD_LOGIC; f : OUT STD_LOGIC ); END mux2to1;Read More
Accessibility and Safety for Disabled Workers: Workplace Ergonomics
Accessibility for Disabled People in the Workplace
Workplaces, including doors, passageways, toilets, and workstations, should be designed for easy access and safe operation for disabled employees.
Essential Services and Resting Areas
- Potable water must be readily available.
- Sufficient changing rooms should be provided.
- Adequate numbers of showers, toilets, and washbasins with hot and cold water should be available.
- Rest rooms with tables and seating should be provided.
- Pregnant women should have access
Digital Fluoroscopy and Computed Tomography
Gain Reduction and Digital Fluoroscopy
Gain Reduction: (Inlet Diameter)2 / (Output Diameter)2
Further Conversion Factor: Light Output Intensity / Current Input RX. A larger gain implies a smaller image with increased brightness.
Digital Fluoroscopy
Involves removal or subtraction techniques.
- Interrogation Time (TI): The time required for the X-ray tube to be switched on and reach the selected level of kV and mA.
- Extinction Time (TE): The time required for the X-ray tube to be switched off. Digital fluoroscopy
Image Reconstruction: Backprojection & Fourier
Backprojection
This section demonstrates a basic backprojection algorithm for image reconstruction.
Steps:
- Determine the dimensions of the sinogram:
[numOfParallelProjections, numOfAngularProjections] = size(sinogram);
- Initialize a matrix for the backprojected image (BPI):
BPI = zeros(numOfParallelProjections);
d = numOfParallelProjections * sind(45);
c = d * 2;
dim_pad = ceil((c - numOfParallelProjections) / 2);
- Calculate the padded image dimensions:
padded_dim = numOfParallelProjections + 2 * dim_pad;
Read More
Realistic Vray Rendering Techniques for Interiors and Exteriors
This is a scene that I did for a presentation about exterior lighting, and I would like to share the making of this scene with you. The scene is available for download; see more info at the end.
First, about modeling: for the structure, it was simply easy, just boxes with the help of Edit Poly tools. The most difficult to create was the furniture used in the scene; I did it with the help of ZBrush and Photoshop. The trees and plants were made with Speedtree and the Ivy plugin.
The grass was a simple
Read MoreHotel Security: Protecting Assets and Guests
Principles of Hotel Security
Overall framework for action: A hotel is a tourist company; the purpose is accompanying the hotel business.
- People travel.
- Concentration and free movement of persons: The same number of clients and threats enter. It is difficult to protect the filter.
- Currency, jewelry, cards, etc.: Large concentration of values.
- Events, conferences, tours.
- Socially relevant and famous people (here, also the safety of the occupants of the hotel).
- Unknown and known loss.
- Need for many staff and