Sunday, January 26, 2020

Implement Synthesizable Square Root Algorithm On Fpga Engineering Essay

Implement Synthesizable Square Root Algorithm On Fpga Engineering Essay The main objective of this paper is to implement synthesizable square root algorithm on FPGA. As square root function is not synthesizable on Silicon, this paper proposes optimized non restoring square root algorithm for unsigned 8 bit number on ED2C20F484C7 device in Cyclone II family. This algorithm is implemented in gate level abstraction of Verilog HDL. The basic building block of the design is CSM (Controlled Subtract Multiplex) block. It makes use of only subtract operation and append 01 which is an improvement over restoring algorithm. Keyword: FPGA,CSM,Verilog HDL,fixed point Introduction The square root function is a basic operation in computer graphic and scientific calculation application. Due to its algorithm complexity, the square root operation is hard to be designed in digital system. As known, digital system has been used in daily life or industrial purpose that may have been in need of square root operation to fully execute its functions. Scientists have developed various algorithms for square root calculation. But the implementation of algorithms is difficult because of their complexities and thus results into long delays for its completion. There are two main families of algorithms that can be used to extract square roots. The first family is that of digit recurrence, which provides one digit (often one bit) of the result at each iteration[6]. Each iteration consists of additions and digit-by-number multiplications (which have comparable cost) Such algorithms have been widely used in microprocessors that didnt include hardware multipliers. Most of the FPGA implementations in vendor tools or in the literature use this approach. Second family of algorithms uses multiplications. It includes quadratic convergence recurrences derived from the Newton-Raphson iteration [5]. The digit recurrence approaches allow one to build minimal hardware, while multiplicative approaches allow one to make the best use of available resources when these include multipliers. Also there are estimation method and digit-by-digit method. Digit-by-digit method is classified into two distinct classes: restoring and non- restoring algorithm [1]. In restoring algorithm, remainder is restored in the regular flow. So its implementation needs more hardware. Compared to the restoring algorithm, the non restoring algorithm does not restore the remainder, which can be implemented with fewest hardware resource and the result is hardware simple implementation. It is most suitable for FPGA implementation. Restoring and non restoring square root calculation Restoring Algorithm Step 1: If it is a 2n bit number then divide it in a group of 2 bits Step2: Subtract 1 from the first 2 digits (starting from MSB) Step3: Whenever the result of the subtraction is positive then the developed root is 1 otherwise 0 Step4: Whenever the result is negative, write it as it is. We have to restore the wrong guess by appending 01 and guessed square root. Step5: Now take the next two digits Step6: Append 01 (to be subtracted from next two digits of dividend) and guessed square root to subtract from the remainder. Step7: If the result of subtraction is negative then restore previous remainder by adding wrong guess by appending 01 and guessed square root. Step8: Every time guessed square root has to be updated while appending 01. Step9: Continue the steps until the group of two digits end 1 0 0 1.1 0 1 0 01 01 11 01.00 00 00 00 01 00 01 take next two digits from dividend 1 01 Append 01 Negative value 11 00 + 1 01 0 0 01 11 -10 01 11 10 Negative value + 10 01 01 11 01 10 00 01 11 00 00 10 01 01 01 01 1 00 10011 01 1011111 + 1001101 010110 00 010011001 000010111 00 100110101 1100100111 Figure 1: The example of restoring algorithm to solve square root B. Proposed Modified Non Restoring Algorithm A little modification in non restoring algorithm makes calculation faster. It uses only subtract operation and appends 01. It uses n stage pipelining to find square root of 2n bit number. The following algorithm describes the modified non restoring square root algorithm. Step1: Start Step2: Initialize the radicand (p) which is 2n bit number. Divide the radicand in two bits beginning at binary point in both directions. Step3: Beginning on the left (most significant), select the first group of one or two digit (If n is odd then first group is one digit ,else two bits) Step4: Select the first group of bits and subtract 01 from it. If borrow is zero, result is positive and quotient is 1 else it is 0. Step5: Append 01(to be subtracted next two digits of dividend) and guessed square root to subtract from remainder of previous stage Step6: If result of subtraction is negative, write previous remainder as it is and quotient is considered as 0, else write the difference as remainder and quotient as 1. Step7: Repeat step 5 and step 6 until end group of two digits. Step8: End 1 0 0 1.1 0 1 0 01 01 11 01.00 00 00 00 00 01 00 01 take next two digits from dividend 1 01 Append 01 11 10 01 01 11 01 100 01 11 00 00 1001 01 001011 00 1001101 00101100 00 10011001 0000010111 00 100110101 001011100 Figure 2: The example of modified non restoring algorithm to solve square root Basic Building Block for Non restoring algorithm Inputs of the building block are x,y,b and u while d and b0(borrow) are outputs. If b0=0, then d b0=( ~ x .y)+(b.~x)+(by); d= (~x.y.~b.~u)+(~x.~y.b.~u)+(x~y.~b)+(x.u)+(x.y.b); csmblock.jpg Figure 3: RTL schematic of CSM block The generalization of simple implementation of non restoring digit by digit algorithm for unsigned 6 bit square root by array structure is shown in Fig.4. Each row of the circuit executes one iteration of non restoring digit by digit square algorithm, where it only uses subtract operation and appends 01. Figure 4: Pipelined structure of 6 bit unsigned square root number The design can be optimized by minimizing the logic expressions and can be implemented by modifying CSM block. The specialized entities A,B,C,D,E,F,G and H are derived from CSM block and are defined as follows: For csmA, ybu = 100 b0 = ~x d = ~x For csmB, yu = 00 b0 = ~x.b d = ~x.b + ~b.x For csmC, u = 0 b0 = ~x.y + ~x.b + y.b d = ~x.y.~b + ~x.~y.b + x.~y.~b + x.y.b For csmD, yb = 10 b0 = ~x d = ~x.~u + x.u For csmE, y = 0 b0 = ~x.b d = ~x.b.~u + ~b.x + x.u For csmF, xy = 00 b0 = b d = b.~u For csmG, xyb = 010 b0 = ~x d = ~u For csmH, xyu = 000 b0 = b Figure 5: Optimized Pipelined structure of 8 bit unsigned square root number Results and analysis The Non Restoring algorithm can be implemented with least hardware resources and the result will be the faster than restoring square rooting techniques. The source code is implemented in such a way that it can be extended according to users requirement to calculate complicated square root in FPGA. Figure 6: Simulation result of 8 bit square root using non restoring algorithm The DE1 kit has 4 seven segment displays only so the maximum number which can be displayed is 9999d and also it doesnt have a decimal point. Hence output obtained is less precise if one of the displays is considered as a decimal point. Table 1 shows the list of Logic Elements usage for 8 bit implementation. This indicates the size of the implemented circuit hardware resource. Table 1: Comparison of LEs usage in 8 bit implementation No Implementation of non restoring algorithm for 8 bit LEs 1 8 bit (with seven segment) 85 2 8 bit (without seven segment) 71 3 optimized 8 bit (with seven segment) 64 4 optimized 8 bit (without seven segment) 50 Table 2: PowerPlay Power Analyzer Status No PowerPlay Power Analyzer Status 8 bit with optimization (mW) 8 bit without optimization (mW) Low Medium Low 1 Total Thermal Power Dissipation 71.65 447.96 72.84 2 Core Dynamic Thermal Power Dissipation 0 190.47 0 3 Core Static Thermal Power Dissipation 47.36 48.06 47.36 4 I/O Thermal Power Dissipation 24.29 209.44 25.48 Conclusion: This implementation and analysis shows that proposed method is most efficient of hardware resource. This is reasonable, because it only uses subtract operation and append 01. The result shows that the proposed algorithm is easy to implement and also uses less resources. The result is extended for square root implementation of 8 bit floating point number and also it can be expanded to larger numbers to solve complicated square root problem in FPGA implementation.

Saturday, January 18, 2020

Book Review on The Lucky One Essay

In the blink of an eye, something happens by chance – when you least expect it sets you on a course that you never planned, into a future you never imagined. What if someone had saved your life before you even met? How far will you travel to find love? Will you engage in a journey of love and luck that will change your life forever? Will you take the quests to happiness when you know to yourself that you will be taking risks and that the journey you will take is a trial-and-error thing? For him, that was all possible. He was a wonderful man. And when a man is that special, you know it sooner than you think possible. You recognize it instinctively; there will never be another one like him. He was Logan Thibault, a one of a kind man who sets out a journey to find a girl, who was believed to be his lucky charm. Meeting her embarks the roller coaster ride of love, luck, fortune, romance and big secrets. Literary Work and Comment The literary work of Nicholas Sparks is a brilliant one. He had narrated a story of love and romance, of luck and journey. But like any other stories, this depicts lives of people. This is less dreamy and is more realistic even at times pragmatic – in spite of the belief in a lucky charm. The story revolves around the life of a U.S. Marine during his third tour of duty in Iraq and the photograph he had found. That was a photo of a smiling young woman half buried in the dirt. His first instinct is to toss it aside. Instead, he brings it back to the base for someone to claim, but when no one does, he finds himself always carrying the photo in his pocket. Soon Thibault experiences a sudden streak of luck—winning poker games and even surviving deadly combat that kills two of his closest buddies. Only his best friend, Victor, seems to have an explanation for his good fortune: the photograph—his lucky charm. Back home in Colorado, Thibault can’t seem to get the photo—and the woman in it—out of his mind. Believing that she somehow holds the key to his destiny, he sets out on a journey across the country to find her, never expecting the strong but vulnerable woman he encounters in Hampton, North Carolina—Elizabeth, a divorced mother with a young son—to be the girl he’s been waiting his whole life to meet. Caught off guard by the attraction he feels, Thibault keeps the story of the photo, and his luck, a secret. As he and Elizabeth embark upon a passionate and all-consuming love affair, the secret he is keeping will soon threaten to tear them apart—destroying not only their love, but also their lives. Theme and Purpose This story is melodramatic and is more realistic. The author has always written stories where happiness and tragedy meet, full of little coincidences that may change people’s lives forever. The stories he wrote often are sentimental, since they are always about quests for love and romance and all about sadness as well. The author had presented us how a marine lived his life during the times when he was on a duty in Iraq. A lot of scenes in the novel were inspired with the timely events that had happened in Iraq back in 2008. During that time, that war in Iraq dominated the front pages of newspapers and is headlines on almost all television networks all over the world. But then, what the author is pointing out here is that stories about military men and personnel are often personal and focuses on their families or the struggles they faced upon returning home. Thus, the author wanted the readers to have a picture on their minds on what a marine officer is encountering mainly the preparations before the war, during the battle and after their duties. The author wanted us to be more aware on how a marine fought battles. He wanted his readers to experience, even by just reading his work, how to deal things when you are in a real battle in a vast battlefield. Bottom line of it all, the author wanted us to picture out strengths and determination from the main characters of the story. He wanted us to know and feel that pursuance on a certain thing you are into could give you a prosperous life. He is giving us an example, for us to reflect on ourselves, how to deal with problems. Problems are our enemies and every day we are dealing with it. We are living in a great battle field and for you to win and conquer it all, we must have strengths in ourselves and be determined enough to pursue everything we ought to do. We must believe that we can beat every problem that will come in our way. This are just spices in gaining a fruitful life ahead. Techniques Used The author had offered us a good story line. This story is surely be loved by avid romance novel readers most especially because of the beautiful plot he had created. The twists and turns of events are unpredictable that will surely make you crave for more of his works. The very first thing I had noticed was the flashback technique the author had used which is very common for all stories; using this may not let readers enjoy because they already know this kind of technique. So he had come up with a technique that you will notice from this certain novel and that is by using the voice of the characters. The author is writing in the limited third-person omniscient, thus allowing the reader to feel almost â€Å"first-person† closeness with the character, while still allowing all the characters to participate. Each chapter is told through the perspective of a single character. For example, in chapters labeled â€Å"Thibault,† only Thibault’s thoughts are included. Anything another character does is seen through his perspective, one that Thibault must only assume. If he’s talking to Beth, he can intuit what she’s thinking, but the readers are never allowed to know for sure. Until, of course, the next chapter arrives (perhaps labeled â€Å"Beth†) where she might reflect on what she’d actually been thinking. It’s a powerful form of writing and the author had used it effectively. He had overcome the challenge to make each character’s voice distinct enough to be immediately recognizable. In other words, the readers were able to â€Å"know† who’s talking, even if the chapter hadn’t been labeled at all. There was a learning curve associated with this. It made the development of the relationship between Thibault and Beth a bit more difficult (since it was only through one person’s eyes at any given time), but on the other hand, it made the characters themselves a bit easier to craft. And some voices were more difficult than others. Then, of course, there’s the challenge of keeping the story â€Å"linear.† That’s a bit tougher to do when writing with this form of literary voice. This kind of technique used by the author is somewhat confusing at first but as you go on reading the story, you will gradually understand and grasp the technique implied. It is so great that someone had done this kind of technique in writing because not all writers, regardless of what genre they are into, are good in narrating stories with this kind of technique. Opinion This is a great story indeed. Nicholas Sparks had written such a beautiful romance novel. His work is elevated by a very persuasive manner of storytelling. Readers are not expected to read his books because they are true but because they ought to be true. The story is very well plotted. The sequencing of events as well as the techniques used is very much commending. Sparks writes in such a way that it keeps you informed, seduced, captivated, and never bored. The chapters move along swiftly and it is written so well that you are not struggling to make it through each chapter. Each chapter would focus on a particular character and the chapter would be titled with their name: Thibault, Beth or Clayton. I loved that we got to delve into every characters lives. Everyone was explored with the same amount of back story. You never felt a lack of information. The storyline stays true and builds to an exciting climax. Sparks knows how to build a story and keep a reader anxiously turning pages. This is my first time to read a Nicholas Sparks novel and I surely bet this wouldn’t be the last because I had enjoyed reading it. The way he presented his work to his readers is so much appealing that you will surely crave for more.

Thursday, January 9, 2020

Find Out Who is Worried About Professional College Paper Writers and Why You Need to be Paying Attention

Find Out Who is Worried About Professional College Paper Writers and Why You Need to be Paying Attention With the completely free revision option supplied for each one of the clients, you can have your paper revised and improved at zero price. Sit down and relax as you watch for your ideal work! Each day you've got to perform plenty of assignments and process plenty of information. If you're puzzling who can assist you with the assignment at the lowest price as you're a student and can be pressed for money, you're at the proper place as we offer cheap customized writings. When you can't locate a way to complete your papers in time, choosing a professional service can be your very best investment for the future. Get ready to work hard or turn to our professional services that will help you just once you require it the most. Professional services can't be provided at a low-cost price. Stay calm now, because you found the ideal service for global students around the planet. There are lots of skills that professional writers much master and rules they have to memorize. You also have to determine the specific things the college might be prepared to know about you. Although a lot of students need academic assistance, not all of these ask for it. You risk obtaining a very low grade as teachers are extremely strict about every mistake they find. The Hidden Treasure of Professional College Paper Writers If you are supposed to use a college paper writer to custom write your essay then you are going to be happy to know that we only employ the best writ ers that are not just highly competent but are native English speakers too. With our custom made essay offer, you can be guaranteed to get any kind of essay help you are searching for. Now you know a bit about what online essay writers do, there are a variety of important reasons why you need to only trust experienced academic writers to supply you with an adequate paper. The other explanation is that nearly all learners don't know where to begin and quite often have hard times attempting to produce a very good topic or thesis statement. Some people are able to tell you more concerning the topic, so attempt to arrange interviews with them. Locating a worthy essay writing service at a reasonable price isn't a very simple endeavor for an inexperienced student. Using our services is totally safe. You ought to select an essay that you may discuss extensively without a lot of stress. Hence, in the long run, the essay won't only be honed to perfection in conditions of language but also customized to each applicant. Quite simply, your essay is going to be produced especially for each student, so that it might satisfy the demands and conditions of your purchase. Additionally, you may rest assured you will get a plagiarism-free essay. We've got native English-speaking writers, meaning you will receive a well-written paper. If you must make sure the last work is going to be of exceptional quality, you're welcome to bring a PRO Writer bundle to your purchase, so that one of our top writers will finish the assignment for you. However difficult it is to compose an essay, our authors can deal at any difficulty. When you purchase an essay from us, you're guaranteed to relish individual approach because essay help offered by our writers is always customized depending on your requirements. Otherwise, the total level of your work will be impacted, and you'll be left with a low-quality essay. When it has to do with writing, distinguishing top high quality work from poorly tackled writing challenges is far from a tough endeavor. In the future, it can even enhance your writing skills. When it has to do with writing college papers there's a lot of work involved.

Wednesday, January 1, 2020

Caribbean American Women - 1256 Words

Carole Boyce Davies discussion on Zora Neale Hurston’s essay â€Å"How It Feels to be Colored Me† she uses posits Hurston’s proffering to travel â€Å"piece of the way† with visitors as a new way of thinking about the periphery in academia . Beginning her chapter â€Å"Coming to Terms with Theory,† Boyce expresses how outdated and inefficient the current theoretical practices have become. She states that scholars are intellectually trapped by the hierarchical systems within scholarship. Her main critique comes from the reality of upcoming scholars having to laboriously quote Euro-American male scholars in order to establish them within their field. Under this standard what we find is that in the constant referencing of these European scholars the racial and cultural hierarchy of western society is sustained. Boyce suggests that common favoring of European scholarly contributions reinforces structural biases towards the consciousness of those in the periphery. As a result, western epistemology continues to drive current scholarship through its standardization. And, moreover, European theory is falsely applied to the estranged consciousnesses. The standardization of European scholarship places limitations on how the marginal subject can articulate its existence. Barbara Christian’s â€Å"The Race for Theory† asks â€Å"For whom are we doing what we are doing when we do literary criticism?† Davies would respond to this query by stating that current scholarship is written to and for the center. BasedShow MoreRelatedCaribbean American Women742 Words   |  3 Pagesinefficient the current theoretical practices have become. She states that scholars are intellectually trapped by the hierarchical systems within scholarship. Her main critique comes from the reality of upcoming scholars having to laboriously quote Euro-American male scholars in order to establish them within their field. Under this standard what we find is that in the constant referencing of these European scholars the racial and cultural hierarchy of western society is sustained. Boyce suggests that commonRead MorePsychiatric Problems Among I mmigrant Black Americans Essay1430 Words   |  6 Pagesof Black Caribbeans.† Miranda, Siddique, Belin and Kohn-Wood (2005) also stated that even â€Å"to date, very little information on psychiatric problems among immigrant black Americans is available.† In this current literature review, I will be focusing on predictors of mental health amongst Afro-Caribbeans or Black Caribbeans. I will review the results of three studies, in which, when they come together, give some factors that contribute to the onset of mental illnesses in the Afro-Caribbean/Black CaribbeanRead MoreLanguage And Its Effects On The Individual And Society1527 Words   |  7 Pagespeople into following the dictator’s policies. There have been many incidents throughout history where a language can be used as a tool of oppression. Some of these events are early slavery in the western world, the treatment of women in early American society, and how the Caribbean civilization was treated by the French. According to Orwell, â€Å"The language of oppression is a universal phenomenon, it exist in every society and the society determines its nature and form† (2223). Since the beginning of theRead MoreAnalysis Of Caribbean Literature And Ideas1478 Words   |  6 PagesThroughout Introduction to Caribbean Literature and Ideas, the class explored a number of texts, both fictional and non-fictional, that spoke to a number of larger historical issues that have affected the Caribbean as a whole. In every text we read, I saw a recurring concept come about: traveling. The act of travel, or the circulation of people in and out of the Caribbean, seems to be very important, in order to understand many of the issues that Caribbean people face. Whether it is â€Å"the boys† ofRead MoreMulti Cultural And Multi Racial1476 Words   |  6 Pages Running Head – Caribbean Multi-cultural and Racial The Multi-Cultural and Multi-Racial Caribbean Michelle Knight Essay Submitted for Caribbean History 27100 Professor Audra Diptee Carleton University June 14, 2016 The Multi-cultural and Multi-racial Caribbean The Caribbean islands are a group of diverse islands throughout the Caribbean Sea. These islands can be as far south as the northern South America and as far north as southern North America. These islandsRead MoreCaribbean Literature1477 Words   |  6 PagesCaribbean Literature INTRODUCTION The evolution of Caribbean Literature started centuries before the Europeans graced these shores and continues to develop today. Quite noticeably, it developed in a manner which transcended all language barriers and cultures. Today the languages of the Caribbean are rooted in that of the colonial powers - France, Britain, Spain and Holland - whose historical encounters are quite evident throughout the region. The cosmopolitan nature of the regions language andRead MoreImpacts Of Tourism On Tourism1112 Words   |  5 Pageseconomic and political issues to safety and security concerns. Health issues are closely related to safety concerns, which can have a major negative impact on tourism. A current health issue that is affecting the tourism industry in the US, Caribbean, and Latin American countries is the Zika virus. The Zika virus is spread by the bite of an infected Aedes species mosquitos. It can be spread from a pregnant woman to her unborn fetus, which can result in microcephaly , along with other birth defects. ZikaRead MoreAnalysis of Caribbean Festivals Essay995 Words   |  4 PagesThe Caribbean is a region known not only for its sun, sand and sea, but its festivals. Also known as ‘Caribbean Carnival’, these festivals have spread to the diaspora. Oxford Dictionaries define carnival as, â€Å"a period of public revelry at a regular time each year, typically during the week before Lent in Roman Catholic countries, involving processions, music, dancing, and the use of masquerade.† The term and concept of ‘carnival’ originated in Italy, however, with the influence of African cultureRead MoreDoes the Caribbean Contribute to the Americanization of Its Media?1336 Words   |  6 Pagesâ€Å"Do you believe Caribbean Media are victims or causal factors of the Americanization of Caribbean Culture?† There has been an ongoing debate as to whether The Americanization phenomenon, has been perpetuated by the media across the Caribbean. It must be stated, that the Americanization phenomenon, can be synonymous with Globalisation. Hence it very pertinent to the discussion, to first defines the denotative meaning of the term Globalisation. (Dr.Maria Alfaro) defines Globalisation as: â€Å"ARead MoreThe Importance Of Slave Trade In Africa751 Words   |  4 PagesEnslaved Africans taken to Brazil came mainly from Angola and those taken to Caribbean were mostly from West Africa. The top African countries that supplied slaves to the European nations were the west central Africa which in the present day is known as the democratic republic of Congo and Angola. Other areas include the Gold Coast, eastern Nigeria, Cameroon and Gabon. Majority of the enslaved Africans were shifted to Caribbean, Spanish empire and Brazil (Rawley p49) On the way to the European countries