# GSoC

**URL:** https://discourse.myhdl.org/c/gsoc/7.md

[Latest](https://discourse.myhdl.org/latest.md) · [Categories](https://discourse.myhdl.org/categories.md)

---

## [About the GSoC category](https://discourse.myhdl.org/t/about-the-gsoc-category/18)

<div class="topic-metadata">

**Author:** [@jck](https://discourse.myhdl.org/u/jck)\
**Replies:** 0

</div>

This is the place to discuss the current state or future direction of ongoing GSoC projects

---

## [GSoC #6: Round Modes and Their Behavior](https://discourse.myhdl.org/t/gsoc-6-round-modes-and-their-behavior/209)

<div class="topic-metadata">

**Author:** [@qrqiuren](https://discourse.myhdl.org/u/qrqiuren)\
**Replies:** 4\
**Last updated:** [August 30, 2017, 12:48pm UTC](https://discourse.myhdl.org/t/gsoc-6-round-modes-and-their-behavior/209 "2017-08-30T12:48:26Z")

</div>

The original blog post is here. In @cfelton 's implementation of fixbv, there are some kinds of round modes implemented in \_resize.py, as in the source code: # round : ROUND\_MODES = ( # towards …

---

## [GSoC #-1: Work Product Summary](https://discourse.myhdl.org/t/gsoc-1-work-product-summary/218)

<div class="topic-metadata">

**Author:** [@qrqiuren](https://discourse.myhdl.org/u/qrqiuren)\
**Replies:** 0\
**Last updated:** [August 26, 2017, 5:09pm UTC](https://discourse.myhdl.org/t/gsoc-1-work-product-summary/218 "2017-08-26T17:09:52Z")

</div>

The original blog post is here. This is a summary of the Google Summer of Code project MyHDL: Fixed-point Compiler. Code The entire code can be found in the mep-111 branch of my repository. It has been contained in a …

---

## [GSoC #8: MyHDL Back-end Source Code Analysis (1)](https://discourse.myhdl.org/t/gsoc-8-myhdl-back-end-source-code-analysis-1/215)

<div class="topic-metadata">

**Author:** [@qrqiuren](https://discourse.myhdl.org/u/qrqiuren)\
**Replies:** 0\
**Last updated:** [August 13, 2017, 4:02pm UTC](https://discourse.myhdl.org/t/gsoc-8-myhdl-back-end-source-code-analysis-1/215 "2017-08-13T16:02:52Z")

</div>

The original blog post is here. In MyHDL source code, “front-end” means the simulation part, and “back-end” usually means the conversion (MyHDL to Verilog or VHDL) part. The code of conversion part is in myhdl/conversi…

---

## [GSoC #7: Overflow Modes](https://discourse.myhdl.org/t/gsoc-7-overflow-modes/211)

<div class="topic-metadata">

**Author:** [@qrqiuren](https://discourse.myhdl.org/u/qrqiuren)\
**Replies:** 0\
**Last updated:** [August 1, 2017, 1:51pm UTC](https://discourse.myhdl.org/t/gsoc-7-overflow-modes/211 "2017-08-01T13:51:06Z")

</div>

The original blog post is here. Comparing to round modes I introduced in the last post, overflow modes are rather simple. There are only 3 overflow modes in cfelton’s \_resize.py: saturate, ring, and wrap. saturate me…

---

## [GSoC #5: Sum Problem of Fixed-Point Type](https://discourse.myhdl.org/t/gsoc-5-sum-problem-of-fixed-point-type/208)

<div class="topic-metadata">

**Author:** [@qrqiuren](https://discourse.myhdl.org/u/qrqiuren)\
**Replies:** 0\
**Last updated:** [July 25, 2017, 11:11am UTC](https://discourse.myhdl.org/t/gsoc-5-sum-problem-of-fixed-point-type/208 "2017-07-25T11:11:26Z")

</div>

The original blog post is here. The Problem If you want to sum up several fixbv fixed-point variables, what will you do? If your answer is as follows: a + b + c + d It seems to be correct but there would be a trap o…

---

## [GSoC #4: Point Alignment of Fixed-Point Type](https://discourse.myhdl.org/t/gsoc-4-point-alignment-of-fixed-point-type/207)

<div class="topic-metadata">

**Author:** [@qrqiuren](https://discourse.myhdl.org/u/qrqiuren)\
**Replies:** 0\
**Last updated:** [July 9, 2017, 2:48pm UTC](https://discourse.myhdl.org/t/gsoc-4-point-alignment-of-fixed-point-type/207 "2017-07-09T14:48:29Z")

</div>

Origin blog post is here. This time it leaves a question... In the previous post, I thought the point alignment of fixbv should be implemented in a short time. Soon I found myself wrong. After fixing a compatibil…

---

## [GSoC '17: state-machine enhancement \[updated weekly\]](https://discourse.myhdl.org/t/gsoc-17-state-machine-enhancement-updated-weekly/204)

<div class="topic-metadata">

**Author:** [@alvihabib](https://discourse.myhdl.org/u/alvihabib)\
**Replies:** 1\
**Last updated:** [June 28, 2017, 1:09am UTC](https://discourse.myhdl.org/t/gsoc-17-state-machine-enhancement-updated-weekly/204 "2017-06-28T01:09:38Z")

</div>

Hello everyone. Here I will be posting links to my weekly blog posts about my current work. I decided to do this instead of x-posting here directly due to my gists getting messed up when copying over the html. Thanks! P…

---

## [GSoC fixbv #3: Current Progress and Plans for Implementing fixbv](https://discourse.myhdl.org/t/gsoc-fixbv-3-current-progress-and-plans-for-implementing-fixbv/203)

<div class="topic-metadata">

**Author:** [@qrqiuren](https://discourse.myhdl.org/u/qrqiuren)\
**Replies:** 1\
**Last updated:** [June 27, 2017, 11:13am UTC](https://discourse.myhdl.org/t/gsoc-fixbv-3-current-progress-and-plans-for-implementing-fixbv/203 "2017-06-27T11:13:49Z")

</div>

Original link to my blog: http://qren.logdown.com/posts/2017/06/27/1924551 Blog begins: Hello, people. I should say "Long time no see" since I have not written blogs since about 2 or 3 weeks ago. Sorry for that. …

---

## [GSoC fixbv #2: Configuration of Cosimulation](https://discourse.myhdl.org/t/gsoc-fixbv-2-configuration-of-cosimulation/201)

<div class="topic-metadata">

**Author:** [@qrqiuren](https://discourse.myhdl.org/u/qrqiuren)\
**Replies:** 0\
**Last updated:** [June 19, 2017, 1:53pm UTC](https://discourse.myhdl.org/t/gsoc-fixbv-2-configuration-of-cosimulation/201 "2017-06-19T13:53:09Z")

</div>

Original post: http://qren.logdown.com/posts/2017/06/01/1905464 To make full use of MyHDL, it is strongly recommended to install and configure cosimulation modules. So that the output (Verilog/VHDL code) of MyHDL com…

---

## [GSoC fixbv #1: Setting Up Development Environment](https://discourse.myhdl.org/t/gsoc-fixbv-1-setting-up-development-environment/200)

<div class="topic-metadata">

**Author:** [@qrqiuren](https://discourse.myhdl.org/u/qrqiuren)\
**Replies:** 0\
**Last updated:** [June 19, 2017, 1:51pm UTC](https://discourse.myhdl.org/t/gsoc-fixbv-1-setting-up-development-environment/200 "2017-06-19T13:51:15Z")

</div>

Hi, all. This is qrqiuren. I was selected as a member of GSoC of MyHDL in May and the coding starts in this June. I will post my blog contents here weekly for my GSoC project from now on. Please post your suggestions …

---

## [Potential GSoC ideas](https://discourse.myhdl.org/t/potential-gsoc-ideas/163)

<div class="topic-metadata">

**Author:** [@jck](https://discourse.myhdl.org/u/jck)\
**Replies:** 18\
**Last updated:** [April 9, 2017, 4:29pm UTC](https://discourse.myhdl.org/t/potential-gsoc-ideas/163 "2017-04-09T16:29:29Z")

</div>

Here is a dump of GSoC ideas I would like to mentor. Looking for feedback before I put them on the ideas page. FIRRTL conversion support Add support for converting MyHDL block's to FIRRTL. Whether we like it or not, F…

---

## [Students thinking about applying to MyHDL for GSoC](https://discourse.myhdl.org/t/students-thinking-about-applying-to-myhdl-for-gsoc/164)

<div class="topic-metadata">

**Author:** [@jck](https://discourse.myhdl.org/u/jck)\
**Replies:** 4\
**Last updated:** [March 28, 2017, 5:17pm UTC](https://discourse.myhdl.org/t/students-thinking-about-applying-to-myhdl-for-gsoc/164 "2017-03-28T17:17:13Z")

</div>

Read http://dev.myhdl.org/gsoc/gsoc\_2017.html Then, introduce yourself here. Tell us about your background and interests in compilers/code generation/digital design. After creating a draft proposal, notify the potent…

---

## [Working on fixbv for GSoC](https://discourse.myhdl.org/t/working-on-fixbv-for-gsoc/162)

<div class="topic-metadata">

**Author:** [@Kurus](https://discourse.myhdl.org/u/Kurus)\
**Replies:** 0\
**Last updated:** [March 7, 2017, 6:23pm UTC](https://discourse.myhdl.org/t/working-on-fixbv-for-gsoc/162 "2017-03-07T18:23:26Z")

</div>

Hi, I am interested in gsoc project- implementing back end compiler support for fixbv class. I had looked in fixed\_point package and tested some of the example given. I also tested fixed datatype with abstract syntax tre…

---

## [GSoC week 12 roundup](https://discourse.myhdl.org/t/gsoc-week-12-roundup/112)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 9\
**Last updated:** [August 22, 2016, 3:16am UTC](https://discourse.myhdl.org/t/gsoc-week-12-roundup/112 "2016-08-22T03:16:15Z")

</div>

This is the last roundup, as posted in previous GSoC roundups the GSoC program has outlined that all students have their final code committed by 20-Aug. If you have not committed your final code make sure to do so in th…

---

## [GSoC week 10 roundup](https://discourse.myhdl.org/t/gsoc-week-10-roundup/111)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 4\
**Last updated:** [August 11, 2016, 5:47pm UTC](https://discourse.myhdl.org/t/gsoc-week-10-roundup/111 "2016-08-11T17:47:31Z")

</div>

The slump for most students has continued, all students need to be making daily commits, weekly PRs, and weekly blogs. If you (student) are not following through with these you are in jeopardy of failing. Student week…

---

## [JPEG Encoder Data Flow](https://discourse.myhdl.org/t/jpeg-encoder-data-flow/94)

<div class="topic-metadata">

**Author:** [@mkatsimpris](https://discourse.myhdl.org/u/mkatsimpris)\
**Replies:** 20\
**Last updated:** [July 25, 2016, 4:24pm UTC](https://discourse.myhdl.org/t/jpeg-encoder-data-flow/94 "2016-07-25T16:24:12Z")

</div>

As the project grows there are some concerns about the data flow in the encoder. I will try to describe my part of the encoder (frontend) and how the data are handled in the color space conversion and 2D-DCT module. F…

---

## [GSoC week 8 roundup](https://discourse.myhdl.org/t/gsoc-week-8-roundup/109)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 1\
**Last updated:** [July 22, 2016, 2:11pm UTC](https://discourse.myhdl.org/t/gsoc-week-8-roundup/109 "2016-07-22T14:11:14Z")

</div>

There has been a little bit of a slump after the midterms hopefully this will not continue throughout the rest of the program :slight\_smile: The end will approach quickly. August 15th: coding period ends. August 1…

---

## [GSoC week 7 roundup](https://discourse.myhdl.org/t/gsoc-week-7-roundup/108)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 0\
**Last updated:** [July 11, 2016, 10:46am UTC](https://discourse.myhdl.org/t/gsoc-week-7-roundup/108 "2016-07-11T10:46:11Z")

</div>

Student week7 summary (last blog, commits, PR): jpegenc: health 88%, coverage 95% @mkatsimpris: 03-Jul, \>5, Y @Vikram9866: 25-Jun, \>5, Y riscv: health 96%, coverage 91% @me…

---

## [GSoC week 5 roundup](https://discourse.myhdl.org/t/gsoc-week-5-roundup/102)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 2\
**Last updated:** [June 27, 2016, 12:19pm UTC](https://discourse.myhdl.org/t/gsoc-week-5-roundup/102 "2016-06-27T12:19:05Z")

</div>

The last week we had the mid-term reviews, unfortunately there was a communication error and many of our mentors are not marked as mentors in the GSoC system. @mentors in the future, we need to get our reviews in 96 hou…

---

## [GSoC week 1 roundup](https://discourse.myhdl.org/t/gsoc-week-1-roundup/46)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 0\
**Last updated:** [May 30, 2016, 12:29am UTC](https://discourse.myhdl.org/t/gsoc-week-1-roundup/46 "2016-05-30T00:29:16Z")

</div>

The students were thrown fast and heavy into the world of open-source development in their first week. Recently MyHDL had a significant enhancement, MEP114, added to the 1.0 development branch. It was decided that the …

---

## [GSoC week 2 roundup](https://discourse.myhdl.org/t/gsoc-week-2-roundup/81)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 0\
**Last updated:** [June 5, 2016, 8:48pm UTC](https://discourse.myhdl.org/t/gsoc-week-2-roundup/81 "2016-06-05T20:48:35Z")

</div>

This week was another impressive week (for the most part). There has been lots of activity and code/HDL writing. For each package and repository being developed each student should setup their repos with the various P…

---

## [GSoC week 3 roundup](https://discourse.myhdl.org/t/gsoc-week-3-roundup/87)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 0\
**Last updated:** [June 13, 2016, 10:55am UTC](https://discourse.myhdl.org/t/gsoc-week-3-roundup/87 "2016-06-13T10:55:23Z")

</div>

For some students things slowed down this week for others the pace was maintained. Students, for the most part, are becoming more familiar with the design process and the MyHDL design patterns. It is fun watching the p…

---

## [GSoC week 4 roundup](https://discourse.myhdl.org/t/gsoc-week-4-roundup/90)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 0\
**Last updated:** [June 18, 2016, 12:19am UTC](https://discourse.myhdl.org/t/gsoc-week-4-roundup/90 "2016-06-18T00:19:19Z")

</div>

All the midterm reviews are due by the 25th, the reviews open up next week and primary mentors are encouraged to completed the reviews as soon as possible. Students, try and complete your milestones by Monday :), w…

---

## [2D-DCT Implementation for JPEG encoder](https://discourse.myhdl.org/t/2d-dct-implementation-for-jpeg-encoder/86)

<div class="topic-metadata">

**Author:** [@mkatsimpris](https://discourse.myhdl.org/u/mkatsimpris)\
**Replies:** 20\
**Last updated:** [June 10, 2016, 5:29pm UTC](https://discourse.myhdl.org/t/2d-dct-implementation-for-jpeg-encoder/86 "2016-06-10T17:29:18Z")

</div>

I would like some suggestions for a simple architecture of a 2D-DCT for jpeg encoder. @cfelton @josyb

---

## [Device primitive instantiate with user defined code](https://discourse.myhdl.org/t/device-primitive-instantiate-with-user-defined-code/50)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 3\
**Last updated:** [June 2, 2016, 3:56pm UTC](https://discourse.myhdl.org/t/device-primitive-instantiate-with-user-defined-code/50 "2016-06-02T15:56:17Z")

</div>

Often it is desired to instantiate device primitives in a design. This post is going to review, with an example, how device primitives can be instantiated using user defined code. In this example we will use the basic …

---

## [Queries on Run Length Encoder](https://discourse.myhdl.org/t/queries-on-run-length-encoder/47)

<div class="topic-metadata">

**Author:** [@Vikram9866](https://discourse.myhdl.org/u/Vikram9866)\
**Replies:** 6\
**Last updated:** [May 31, 2016, 10:41am UTC](https://discourse.myhdl.org/t/queries-on-run-length-encoder/47 "2016-05-31T10:41:38Z")

</div>

http://postimg.org/image/c2070runf/ In the run length encoder core I do not understand one thing. rss\_cmp\_idx which selects the color component to be processed, do not get any value as per the test file test\_jpeg.py. …

---

## [Best practices for "cores" development (GSoC 2016 projects)](https://discourse.myhdl.org/t/best-practices-for-cores-development-gsoc-2016-projects/30)

<div class="topic-metadata">

**Author:** [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Replies:** 3\
**Last updated:** [May 22, 2016, 10:21am UTC](https://discourse.myhdl.org/t/best-practices-for-cores-development-gsoc-2016-projects/30 "2016-05-22T10:21:22Z")

</div>

This post contains best practice guidelines for creating MyHDL based projects. Versions The 2016 GSoC projects will use MyHDL version 1.0dev. The version has not been released (yet) and needs to be installed manually…

---

## [RISC-V Prior work](https://discourse.myhdl.org/t/risc-v-prior-work/19)

<div class="topic-metadata">

**Author:** [@jck](https://discourse.myhdl.org/u/jck)\
**Replies:** 1\
**Last updated:** [May 16, 2016, 6:19pm UTC](https://discourse.myhdl.org/t/risc-v-prior-work/19 "2016-05-16T18:19:31Z")

</div>

Meet has compiled a list of existing RISC-V implementations which we could use to decide the direction of the GSoC project: https://docs.google.com/document/d/1kuCqd680ECxF4qOOfJAr8N1ieUGZW07rbvSx4m9MsYY/edit?usp=sharing …
