- Details
- Published: Monday, 12 July 2021 04:00
- Hits: 149989
404 ERROR PAGE
Oops !!! You look a bit lost.. click the home button to get back

Error 404 :/
404 ERROR PAGE
Oops !!! You look a bit lost.. click the home button to get back
Error 404 :/
DRAM Memory
When we talk about volatile memory, almost always we talk about DRAM (more specifically SDRAM). Wikipedia: https://en.wikipedia.org/wiki/Synchronous_dynamic_random-access_memory
Good article on basics of DRAM (taken from NXP): nxp_ddr_dram_basics
A DRAM memory module that you buy from market (long stick like with pins on one side) is a DIMM. It has multiple memory chips on it (usually 8 or 9). These are the actual memory chips that have the memory array in them. Each chip supplies 8 bits (or 16 bits in newer ones) of the DRAM bus. So, these 8 or 9 chips supply 64 or 72 bits (or 128 bits or more on newer ones) of the whole data bus.
Various gen of SDRAM:
1. SDR (or SDR SDRAM): This is the single data rate SDRAM. "SDRAM" term is also sometimes used for single data rate DRAM. However, SDRAM is usually meant for Synchronous DRAM. So, we should instead use "SDR SDRAM" for single data rate SDRAM. This was the 1st generation of DRAM which output data once every clock cycle (i.e data sent or received on only rising or falling edge). Clock speeds were from 66MHz to 133MHz. Supply Voltage was 3.3V.
2. DDR (or DDR SDRAM): This is the double data rate SDRAM. To double up the speed without increasing the clock speed, DDR SDRAM were introduced, which allowed data change to happen twice every clock cycle = once on rising edge and once on falling edge. This effectively doubled the bandwidth, as we would get the double the data rate even with the same clock speed.
JEDEC standard for naming memory chips:
So, specifying clock speed for memory chips wouldn't make sense, as that would imply that DDR memory have same speed as SDR memory (or they have the same bandwidth). So, JEDEC came up with a standard, which allowed effective speeds or bandwidth to be specified.
DDR Generations:
Various generation of DDR were introduced starting from year 2000. Below are the 5 gen of DDR memory as of 2020. None of the DDR mem are backwards compatible with SDR mem as the supply voltage was reduced from 3.3V which was the supply voltage of SDR mem.
Low Power DDR (LPDDR):
What we talked above was regular DDR mem used in laptops and desktops. LPDDR is a variant of DDR that consumes less power and is targeted for laptops, tablets and mobile phones. LPDDR technology standards are developed independently of DDR standards. LPDDR allows 16 and 32 bit data i/f in addition to 64 biit dat i/f that is std in regular DDR mem modules. Their mem capacity is smaller than their desktop cuounter parts as they are smaller in form factor.
Graphics DDR (GDDR):
We talked about DDR mem above which are used mainly for cpu, but we also have DDR mem designed specifically for GPU, which require much higher bandwidth. These are called GDDR, and you see this mentioned on computers, which have a dicrete graphics card. Just like regular DDR gen, we have GDD1, GDDR2, etc. Transfer rate for GDR5 is about 100GB/sec.
DDR Memory interface and Commands:
The bus that connects the memory pins on microprocessor to the pins on the memory chip (DIMM on the motherboard) is known as the memory bus interface. There are bunch of cmds that are driven on these pins that dictate the operation.
There are 2 good articles on "Introduction to DRAM operation":
Intro to DRAM => https://www.allaboutcircuits.com/technical-articles/introduction-to-dram-dynamic-random-access-memory/
Basic operation => https://www.allaboutcircuits.com/technical-articles/executing-commands-memory-dram-commands/
Let's look at organization of DRAM memory chips and the DIMM:
DIMM: Contains multiple onboard DRAM chips. DIMM will have the memory size of DIMM as well as the organization detail as 2Rx8 etc.
DRAM Chip Interface:
Though pins for DRAM chips vary a little from gen to gen and among different vendors, there are few pins that are fundamental to operation of DRAM. Most of these pins are provided as differential signal (i.e complimentary signals in pair) as that provides btter noise immunity. Major pins of DRAM are:
DRAM Basic cmds:
Though there are many cmds in the latest gen of DRAM chips, these are few basic cmds that are needed for all DRAM chips. In chips, which have separate cmd pins, combo of CAS, RAS, We and CKE determine what cmd is going to be executed. In newer gen chips, this cmd is embedded within the cmd bus, as there are no separate cmd pins. Below are the 5 basic cmds for any rd or wrt to take place. We start with Activate phase, followed by precharge, then a rd/wrt takes place. Auto Refresh happens in parallel every so often to preserve DRAM values.
LPDDR5:
We'll look at LPDDR5 Memory i/f from JEDEC spec: (JEDEC spec is only available to members, but I'll list imp stuff below):
Selected websites for practice:
A lot of websites advertise "free sample papers" for practicing, but soon you realize that these are for profit websites, and want your money. You should not have to pay for any educational resource in today's internet era. So, I've compiled a list below of free practice papers. I've listed papers starting from Elementary School to High School. Advanced Maths papers beyond High School will be in their respective sections.
1. STAAR tests: In Texas, students have to pass STAAR test in order to move to next grade. These question papers are available for free here, so that you can see the complexity of questions expected. Look for Maths papers from Grade 3 to High School:
https://tea.texas.gov/student-assessment/testing/staar/staar-released-test-questions
2. math-only-math website: This website is mentioned under maths section: https://www.math-only-math.com/. This has lots of sample questions for each grade and for each topic. I don't think you can find more comprehensive material than this for practicing.
3. Math10 website: Math10 has questions for each grade and each topic, separated out under easy, medium and hard. Link => https://www.math10.com/problems/
4. mathoplis website: This website is mentioned under maths section: https://www.mathopolis.com/questions/skills.php and https://www.mathopolis.com/questions/quizzes.php
5. Khan Academy: Last, but the best. It not only has teaching videos, but tons of practise material for all grades. There is course challenge for each subject in each grade, that you find once you go that grade and that subject. One such example for 8th grade maths is here:
On each topic of each subject, there is a separate quiz, and mastery questions, which are very helpful. Each lesson is accompanied by "practice questions" and a "quiz". This helps you as you watch videos and solve these questions.
6. byjus website: CBSE (India) sample papers for 8th grade: The questions are harder compared to 8th grade in USA. Link => https://byjus.com/cbse-sample-papers-for-class-8-maths/
Sample papers for practice:
Few other sample maths papers picked from internet. I've provided a link, as well as downloaded the document to my server, and provided a link. That way, if the online document disappears (as it happens quite frequently)
A. Baschools:
8th grade: Downloaded from here: https://www.baschools.org/pages/uploaded_files/Pre-Algebra%20Practice%20Test.pdf => Local copy => Maths-8th-grade-Pre-Algebra-Practice-Test.pdf
B. ne.gov: (nebraska state)
8th grade: Download from here: https://www.education.ne.gov/wp-content/uploads/2017/07/NEG8MathPTPaper.12.06.10.pdf => Local copy => NEG8MathPTPaper120610.pdf
C.Louisiana believes: This is one of the highest quality maths papers that you can find anywhere. If the kid can solve almost all questions here, he's good for that grade:
All Sample papers from 3rd grade to 8th grade are provided here: https://louisianabelieves.com/resources/library/practice-tests
The link above does have sample papers, but hard to navigate. So, I provided pdf links separately for some of the maths ones.
5th grade: Download from here: http://www.stjames.k12.la.us/common/pages/displayfile.aspx?itemid=12921575
6th grade: Download from here: https://louisianabelieves.com/docs/default-source/assessment/leap-connect-grade-6-math-practice-test-reference-materials.pdf?sfvrsn=fc32991f_2
7th grade: Download from here: http://www.stjames.k12.la.us/common/pages/displayfile.aspx?itemid=12921698
8th grade: Download from here: https://www.louisianabelieves.com/docs/assessment/practice-test-math-grade-8.pdf => Local copy => practice-test-math-grade-8.pdf
D. everestva: Lots of sample papers here (both US as well as papers from India too)
https://everestva.com/search/grade-8-maths-exam-papers-and-answers-pdf
Some sample papers from above website:
1. Nebraska state, USA: Need one paper: FIXME ..
2.Australia, Kinross college: Download from here: https://kinrosscollege.wa.edu.au/wp-content/uploads/2017/11/Year-8-Maths-Exam-Sem-2-2016.pdf
=> Local copy => Year-8-Maths-Exam-Sem-2-2016.pdf
3. south africa (zambia): Download from here: https://www.education.gov.za/Portals/0/CD/Curriculum%20doc%20question%20Papers2007/2015%20ANA%20Gr%208%20Mathematics%20Test%20-%202015.pdf?ver=2015-08-05-213322-000
=> Local copy => 2015_ANA_Gr_8_Mathematics_Test_-_2015.pdf
4. namibia (grade 8 + grade 9): Download from here: http://www.nied.edu.na/assets/documents/02Syllabuses/04JuniorSecondary/Mathematics/JS_Math_Specimen_Papers1_and_2_March_2018.pdf
=> Local copy => JS_Math_Specimen_Papers1_and_2_March_2018.pdf
5. zambia: Download from here: https://www.mathsatsharp.co.za/wp-content/uploads/2015/10/November_Exam_2015_Grade_8.pdf
=> Local copy => November_Exam_2015_Grade_8.pdf
6. Australia (Acara): Bunch of papers from past couple years. Choose "numeracy" for maths papers. Year 9 might be for 8th grade students, though questions look simple. Link to download all the papers: https://www.acara.edu.au/assessment/naplan/naplan-2012-2016-test-papers
E. UK School papers: Few sample papers which look to be at Middle school level:
https://examberrypapers.co.uk/resources/free-11-plus-practice-papers/maths/
Landscaping:
if you buy a standalone house, chances are high that it will have a lawn in the front and in the back. If you are buying a condo, lawn care is taken care of by the HOA (Home owner Association). If you are buying a townhome, you may have to take care of the small lawn (if any), depending on the specific HOA.
Lawn care requires considerable time and money. If you are buying a brand new house, it will come with the lawn setup with grass and small plants and trees. You will immediately see 2 kind of areas: one with grass, while the other with no grass, but having cut wood (known as mulch). This mulch area is around trees and plants, so that no grass grows in that area. It's just to give a better appearance to the lawn.
If you buy a house in USA which is part of an association, then one of the long lasting nightmares as a homeowner are the landscaping violations. The whole and sole reason HOA exist is to make sure that can fine home owners if they don't like the landscaping of that particular home. This is easy and recurring money stream for the management company which manages the HOA (as half of the fines go to mgmt Co). All other fines are very objective, can be contested easily and are one time fix. On the other hand, landscaping rules are very obscure (something like "landscaping has to be maintained in a first class condition"), can be sent out weekly, and for any reason (weeds in yard, grass on mulch, dead plants after winter, not enough green color to grass, blah blah, basically anything you can dream of ...)
No matter how much you maintain your yard, management company will always find a way to send you a violation notice. They will start imposing fines, interest, etc, and there is little respite from this. In the past, HOAs have spent hundreds of thousands of dollars filing lawsuits over landscaping, and have successfully foreclosed homes, which is totally illegal and non sense. Many HOA just fine you when they come to know that you haven't hired a professional to maintain your yard. Best thing is to avoid buying a home in an HOA. However no new homes in USA come without an HOA, so you are stuck.
Maintaining landscaping is one thing, and not getting fines is another thing. You can spend a lot of money and time trying to avoid HOA fines related to landscaping. I don't know when will that suffice. My article below lists general tips and tricks to maintain your landscaping in a decent condition. This will save you money, and require as little of your time as possible.
My goal is to never spend more than $1K/year on landscaping including all the costs as irrigation, mowing, yard supplies, machines, etc.
Grass types:
There are different kind of grass that builders put in your yard. You have to know your grass type, as certain fertilizers, weed killers, etc only work with certain grass type. If you put the ones that are nt meant for your grass, they can damage your grass seriously. In Texas, these are the 2 grass types that are most common
Mowing:
The very first thing that you will need to do is mow the lawn. This means cutting the grass, preferably every 2 weeks during summer and every 4 weeks during winter. I personally felt that mowing it every week, keeps it much healthier and it takes less time to do it. Regular mowing creates a tillering effect, keeping your grass greener and softer. You will need to buy a lawn mower to do this.
There are 3 different kind of lawn mowers to do this job:
Mower deals:
Tips for mowing:
Mowing is just one lawn care activity. It doesn't prevent the unwanted plants (weeds) from growing. These weeds will grow along with your grass, and start killing your grass, as they take away the necessary resources (water, sunlight) from the grass for their own growth. For these, we need fertilizers and chemical spray. This is covered under next section.
Weed Control:
Weed Control is best done before weeds grow. Crabgrass is the most common weed that is hard to pull out, and grows very fast. Below are few chemicals that help prevent crabgrass as well as other weeds.
Crabgrass Control (Weeds): https://www.lowes.com/pd/Scotts-32-04-lb-Crabgrass-Control/1000140423
Pre Emergent: These are chemicals that you spray before the weeds come, i.e when weeds are dormant. This is usually in the fall (i.e Nov-Feb). If you spray pre emergent during the fall, you will hardly see any weeds during the summer. If you forget to do this, then it's very hard to control the weeds with post emergents or other chemicals. It's too late by the time you start seeing weeds germinate.
Crabgrass pre-emergent: Crabgrass is pretty easy to control. You just have to put the right chemical/weed killer, else it's impossible to get rid of it. Regular weed killer will work on all other weeds, but will never work on Crabgrass. A chemical, Prodiamine, is very effective. Here's a link: https://www.amazon.com/Quali-Pro-Prodiamine-Pre-Emergent-Herbicide-Granules/dp/B004GTQBEK
Prodiamine Preemergent => It's expensive at $100, however it will last you 10 years or more. Don't buy smaller bottles, as they cost you way more over the long run. This is the way to apply it:
Post Emergent: These are chemicals that you spray after the weeds come, i.e when weeds are visible. Most of the weed n feed fertilizers, weed killers, etc you see in the market are the post emergent. These are not as effective as Pre emergents. You need to apply post emergent in conjunction with Pre emergent to get best results. If you have done a good job applying Pre-emergents, you won't need much of post emergents,
Grubs: If you see your grass not needing a cut even during active growing season of summer, that means the grass isn't growing, which indicates something wrong with the grass. Most of the times, you will also see that the grass is really easy to pull off from certain places (sometimes it comes out like a carpet indicating no roots at all). The most common reason for this is over abundance of grubs in your soil, which are little worms in soil, which feed on root of any plant including grass. If you are seeing the damage, it's too late as larva of Grubshave already hatched into adults and will keep eating grass. You can control further damage by killing whatever grubs you have by using this 24 hr Grub Killer product => https://www.amazon.com/BioAdvanced/dp/B001H1GQ54
For next season, you should apply grub killer to prevent grubs from laying eggs. This is done in Spring season before summer comes (i.e March/April). So, we kill Grubs before they lay eggs. You need to water extensively to let this chemical go underneath deep in the soil to get all grubs. You need to apply only once a year, as after summer, no grubs will come anyway. You need season long Grub control for this => https://www.amazon.com/Scotts-GrubEx1-Season-Long-Killer/dp/B0050DV4ZW/145-1063152-0610042
Sprinkler Installation and Repair:
If you have a sprinkler system to water your lawn, it's another financial pain. However, you should be able to do almost every repair yourself, instead of spending 100's of $ for each call. They don't involve any plumbing or fixing difficult leaks, as most of the parts are standard, and may just be switched with a new one. Repairing sprinklers is NOT plumbing job, small leaks here and there may still be OK and NOT that difficult to fix :)
If you dont't have a sprinkler system (especially for old houses), I would suggest to not put one, as it not only saves money, but there's also nothing to maintain. Just use a regular garden hose to water your yard from time to time. Grass may die in extreme summer, but will come back when the weather cools. Just don't allow grass to die to a point where roots start dying. Then, grass won't grow again. Water the lawn before that starts happening.
First, let's understand the basics of how sprinker system works:
Link showing mock setup=> https://www.youtube.com/watch?v=vYV7Oac5T98
Link showing installation from scratch => https://www.youtube.com/watch?v=GMsVext_DnY
Pipe size:
There is a pvc pipe running under your yard soil, that carries water to all sprinkler head. Pipes are classified based on internal diameter of the pipe. External diameter doesn't matter for fittings. Most of the pipes used in homes are either 1/2 inch pipes or 3/4 inch pipes in internal diameter. The next size up is 1 inch pipe which are mostly used in industrial agriculture, but not in residential yards. You have to know your pipe size.
You have a solenoid, as well as water heads that may go wrong. Lastly, you may have the sprinkler board
Changing Sprinkler heads:
One of the easiest things to do is changing sprinkler heads, They my break, leak, or just not work efficiently after a couple of years. Very easy to replace and each head costs only $5-$10 depending on whether's it's stationary (where head doesn't rotate) or rotary (where head rotates in an angle, and angle is adjustable).
Video explaining how to change heads: https://www.youtube.com/watch?v=c6BDhysSi3A
Repair Pipe cuts:
Sprinkler pipes may get cracks,leak or may just accidently get cut while you are diffing in the yard. It's very easy to fix. Tough part is finding out where the leak is. Since it's under the yard, there are multiple ways to find the leak. One is to turn off all faucets, taps in your house, and see if your water meter needle is still moving. That may indicate a leak in the main line before it enters the sprinkler. Sprinkler pipe leaks may not be caught using this process as sprinkler is turned off by the sprinkler board.
To find sprinkler pipe leaks, turn on the sprinkler in manual mode, and check for low water pressure (i.e if not all sprinkler heads come up, that may be a problem with sprinkler head, solenoid or some leak in the pvc pipe for that zone). Rule out the sprinkler head problem by replacing the heads not popping up with new ones. If they still don't pop up, replace the solenoid, and if still doesn't pop up, then chances are there is a leak. Look for water pooling in any certain area, or grass being overly green in same patch of ground. That indicates that patch of grass is getting lot more water underground which can only happen with underground leak.
Once you have dug up, and found the cracked pipe, there are 2 ways to fix it:
Misc supplies/tools:
Water hose:
You will most likely need a hose to water your grass or your plants at some point. May be because sprinkler stops working, or you might just want to water your grass little extra. 100 ft hoses with lifetime warranty are available for $50. Buy these. Do NOT buy the "expandable hoses" as they are not going to last beyond one year. They are fancy but that's all they have.
05/25/2025 : 100 ft garden hose => https://slickdeals.net/f/18331678-flexzilla-garden-hose-5-8-in-x-100-ft-heavy-duty-lightweight-durable-zillagreen-hfzg5100yw-e-55-33-at-amazon
Though the link above takes you t amazon, you can buy the same hose from home Depot for the same price => https://www.homedepot.com/p/Flexzilla-5-8-in-x-100-ft-ZillaGreen-Garden-Hose-with-3-4-in-GHT-Fittings-HFZG5100YW-E/203549988
PCI Bus:
PCI is a 2nd generation bus standard that was developed by Intel in 1990. By 1994, PCI became widely used in Pentium PCs. PCI-X which was an enhanced version of PCI was released with faster speeds. After PCI and PCI-X, came the enhanced PCI Express (or PCIE) which was the 3rd generation bus standard, with much faster speeds. This is what we have today in all modern devices. Original PCI and PCI-X are almost non existent.
There were multiple PCI standard as PCI 1.0 (5V signaling), PCI 2.0 (3.3V signaling, PCI-X) and PCI 3.0 (PCIE).The 2nd generation buses were PCI and enhanced version of PCI called PCI-X. The third generation of PCI is what we have today known as PCI Express (or PCIE). We'll look at 3 standards: PCI, PCI-X and PCI Express. like any other bus standard, PCI main objective is to transfer data between devices at highest rate possible.
Spec:
PCI 1.0: PCI bus originally had 33.33MHz clock with synchronous transfers. They had 32 bit wide bus, which gives it a peak transfer rate of 4byte*33.33=133MB/sec. It's 5V signalling, though 3.3V is also supported. It allowed multiple devices to share the same bus, which put a limit on the maximum frequency the bus can support. Clock speed of 33.33MHz (i.e time period=30ns) was only able to support 4-5 slots per bus, as beyond that load would be too high to meet timing. PCI later increased clock speed to 66MHz, which allowed only 1-2 slots per bus.
PCI 2.0: Later PCI-X came with 66MHz and 133MHz clock speeds, with more slots per bus.
PCI connector:
There are PCI connector cards which have contacts on each side of the connector. They have few notches to make sure that they fit only where they are compatible with the voltage supply (5V or 3.3V).
PCI bus transactions:
PCI bus traffic consists of a series of PCI bus transactions. Each transaction consists of an address phase followed by one or more data phases. The direction of the data phases may be from initiator to target (write transaction) or vice versa (read transaction), but all of the data phases must be in the same direction. Either party may pause or halt the data phases at any point.
Each PCI bus transaction
a local computer bus that attaches hardware devices in a
PCI Express:
Documents:
This by mindshare is a good one:
https://www.mindshare.com/files/resources/MindShare_Intro_to_PIPE_spec.pdf